Updating a domain based on device configuration within the domain and remote of the domain

ABSTRACT

A system for maintaining a domain in a premises, wherein the domain is coupled with a remote server, is disclosed. The system includes an instruction receiver; a secure connection establisher for establishing a secure connection between the local and remote server; a data exchange module for exchanging device configuration information between the local and the remote server; and an updating module for updating an application and device configuration information. The instruction receiver receives a set of instructions relating to managing the domain, wherein the set of instructions comprises a complete set of instructions associated with said managing a configuration of the domain such that the domain functions according to the complete set of instructions without any further communication necessary between the remote server with the local server until a change in the domain occurs, wherein the change requires an update to the remote server and components coupled therewith.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority to and benefit of U.S. provisionalpatent application Ser. No. 61/490,275, entitled “Domain Management,” bySteve Raschke et al., filed May 26, 2011, which is herein incorporatedby reference in its entirety; claims priority to and benefit of U.S.provisional patent application Ser. No. 61/490,286, entitled “DomainCommunications,” by Mike Anderson et al., filed May 26, 2011, which isherein incorporated by reference in its entirety; claims priority to andbenefit of U.S. provisional patent application Ser. No. 61/490,294,entitled “Network Operations Center,” by Steve Raschke et al., filed May26, 2011, which is herein incorporated by reference in its entirety;claims priority to and benefit of U.S. provisional patent applicationSer. No. 61/490,302, entitled “Building Customized Applications,” byMike Anderson et al., filed May 26, 2011, which is herein incorporatedby reference in its entirety; claims priority to and benefit of U.S.provisional patent application Ser. No. 61/490,313, entitled“Partnership Services,” by Steve Raschke et al., filed May 26, 2011,which is herein incorporated by reference in its entirety; and claimspriority to and benefit of U.S. provisional patent application Ser. No.61/490,317, entitled “Managing Device Information,” by Mike Anderson etal., filed May 26, 2011, which are incorporated herein, in theirentirety, by reference.

This application is related to U.S. patent application Ser. No.13/481,639 entitled MANAGING A DOMAIN, by Steve Raschke et al., assignedto the assignee of the present invention, filed May 25, 2012.

This application is related to U.S. patent application Ser. No.13/481,661 entitled ACHIEVING A UNIFORM DEVICE ABSTRACTION LAYER, bySteve Raschke et al., assigned to the assignee of the present invention,filed May 25, 2012.

This application is related to U.S. patent application Ser. No.13/481,675 entitled ENABLING CUSTOMIZED FUNCTIONS TO BE IMPLEMENTED AT ADOMAIN, by Mike Anderson et al., assigned to the assignee of the presentinvention, filed May 25, 2012.

This application is related to U.S. patent application Ser. No.13/481,687 entitled TARGETING DELIVERY DATA, by Steve Raschke et al.,assigned to the assignee of the present invention, filed May 25, 2012.

This application is related to U.S. patent application Ser. No.13/481,701 entitled CLOUD-ASSISTED NETWORK DEVICE INTEGRATION, by MikeAnderson et al., assigned to the assignee of the present invention,filed May 25, 2012.

DESCRIPTION OF THE DRAWINGS

FIG. 1A is a block diagram of the Cloud-Assisted Network DeviceIntegration system 100, in accordance with an embodiment.

FIG. 1B a block diagram showing a server 108 located at a premises 106,in accordance with an embodiment.

FIG. 1C is a block diagram showing a server 113 located in a webenvironment communicating with a server 108 on a premises 106, inaccordance with an embodiment.

FIG. 1D is a block diagram showing a server 113 communicating with aserver 108 on a premises 106, in accordance with an embodiment.

FIG. 1E is a block diagram showing a server 108 on a premises 106 couplewith a server 113 at a Network Operations Control 101, in accordancewith an embodiment.

FIG. 1F is a block diagram of a server 108 on a premises 106 coupledwith a server 113 at the Network Operations Control 101, in accordancewith an embodiment.

FIG. 1G is a flow diagram of the relationship between the NOC 101 andthe system 111 during a device configuration process, according to anembodiment.

FIG. 1H is a flow diagram of the relationship between the NOC 101, thesystem 111, and the factory that manufactures the server 108, accordingto one embodiment.

FIG. 1I is a block diagram of more than one server coupled with the NOC101 over a LAN and responding to an application running a macro, inaccordance with an embodiment.

FIG. 2A is a block diagram of a system 200 for managing a domain in apremises, in accordance with an embodiment.

FIG. 2B is a block diagram of a system 200 for managing a domain in apremises, in accordance with an embodiment.

FIG. 2C is a flow diagram of a method 250 for managing a domain, inaccordance with an embodiment.

FIG. 3A is a block diagram of a system for maintaining a domain in apremises, in accordance with an embodiment.

FIG. 3B is a block diagram of a system for maintaining a domain in apremises, in accordance with an embodiment.

FIG. 3C and continuing on FIG. 3D is a flow diagram of a method 350 formaintaining a domain in a premises, in accordance with an embodiment.

FIG. 4A is a block diagram of a system 400 for achieving a uniformdevice abstraction layer, in accordance with an embodiment.

FIG. 4B is a block diagram of a system 400 for achieving a uniformdevice abstraction layer, in accordance with an embodiment.

FIGS. 4C and 4D are flow diagrams of a method 450 for achieving auniform device abstraction layer, in accordance with an embodiment.

FIG. 5A is a block diagram of the system 500 for enabling a customizedfunction for the at least one device 220 to be built and implementedwithin the domain 219, in accordance with an embodiment.

FIG. 5B is a block diagram of the system 500 for enabling a customizedfunction for the at least one device 220 to be built and implementedwithin the domain 219, in accordance with an embodiment.

FIG. 5C is a flow diagram of a method 550 for enabling a building of acustomized function for at least one device 220 in a domain 219, inaccordance with an embodiment.

FIG. 6A is a block diagram of a system 600 for targeting delivery data,in accordance with an embodiment.

FIG. 6B is a block diagram of a system 600 for targeting delivery data,in accordance with an embodiment.

FIG. 6C is a flow diagram of a method 650 for targeting delivery data,in accordance with an embodiment.

FIG. 7 is a diagram of an example computer system used for performing amethod for managing a domain, according to one embodiment.

FIG. 8A is a block diagram of the CANDI system 100, in accordance withan embodiment.

FIGS. 8B-8D are flow diagrams of the method for integrating networkeddevices, in accordance with an embodiment.

The drawings referred to in this description should not be understood asbeing drawn to scale unless specifically noted.

DESCRIPTION OF EMBODIMENTS

Reference will now be made in detail to various embodiments, examples ofwhich are illustrated in the accompanying drawings. While the subjectmatter will be described in conjunction with these embodiments, it willbe understood that they are not intended to limit the subject matter tothese embodiments. On the contrary, the subject matter described hereinis intended to cover alternatives, modifications and equivalents, whichmay be included within the spirit and scope. Furthermore, in thefollowing description, numerous specific details are set forth in orderto provide a thorough understanding of the subject matter. However, someembodiments may be practiced without these specific details. In otherinstances, well-known structures and components have not been describedin detail as not to unnecessarily obscure aspects of the subject matter.

Overview of Discussion

Herein, various embodiments of a system and method for integrating anetworked device within a premises are described. The description beginswith a partial glossary of defined terms associated with variousembodiments. Following this glossary is a brief general discussion ofvarious embodiments associated with the cloud-assisted network deviceintegration (CANDI) system and the benefits thereof to consumers andservice providers. This general discussion provides a framework ofunderstanding for more particularized descriptions of features andconcepts of operation associated with one or more embodiments of thedescribed CANDI system that follows.

Glossary Of Terms

The following is a list of definitions for terminology used herein.

A “subscriber” is an end user of the web services of the cloud-assistednetwork device integration (CANDI) system. The subscriber usually wantsto control and monitor devices in a home or commercial building.

A “domain” is the integrated sum of devices and software applicationsthat interoperate to provide control, feedback and monitoring within ahome or commercial building under a single subscriber login.

A “premises” is a location at which a domain (defined above) resides.

A “product” is an off-the-shelf component as delivered to the market byits manufacturer. The product is not necessarily capable of interfacingwithin the CANDI system.

A “device” is a product that the CANDI system is able to monitor andcontrol through being characterized (defined below) and implementedwithin a domain of the CANDI system.

“Characterized” refers to a product being defined to be within aspecific device class able to perform specific actions. Products areclassified by type or types (e.g. “TV”, “Light Dimmer”). The CANDIsystem addressable products are further uniquely identified by theirparticular make (manufacturer) and model number. Additionally, everyCANDI system addressable product is identified by having one or more“communication port” (defined below).

A “communication port” refers to the following: 1) a physicalcommunication method (e.g. infrared, Z-Wave, ZigBee, serial, IP, X-10,INSTEON, RF); and 2) a protocol running over that port. Depending on thephysical communication method, a port may also have field-determinedinformation (e.g. address, login information) used for operation.

An “action” refers to at least one of the following: a service; anetwork; and a default attribute of a set of attributes, wherein the setof attributes includes but is not limited to codes and parameters. Anaction may be static.

A “device driver” is located at the premises and associates thefollowing three product characteristics of a device: 1) one or moreprotocols for that device; 2) an implementer that implements an action;and 3) a specific list of actions possible to be implemented through thedevice, using the protocol(s). A protocol may handle more actions (e.g.commands) than are actually supported by the implementer. Thus, thedevice driver supports actions specific to the implementer. Over timeand with new versions of implementers, more actions may become availableto be implemented. Actions are assigned and configured for a particulardevice driver.

Cloud-Assisted Network Device Integration (CANDI) System

Presently, networked products of the same product type (e.g. lightswitches) but of different brands may not be controlled by a consumerand/or a third party using the exact same commands and methodology. Forexample, not every product supports the same number of actions as everyother product of the same product type. Nor do similar products supportthe same command in the same way.

Embodiments enable various and otherwise incompatible networked productsin businesses and homes to be controlled over a network using the samecommands and methods. For example, within a device type, the CANDIsystem standardizes actions so that subscribers and/or developers canachieve expected results from a particular action regardless of thevendor or protocol associated with the device within the device type.More particularly, an interface of the CANDI system may be used tocontrol a device type, such as a set of light switches of differentproduct brands or protocols, using the same command despite theseproducts having been manufactured by different companies.

Further, embodiments provide developers with the ability to buildapplications that take advantage of device capabilities, without havingto understand the complexities or protocols associated with a particulardevice or the differences across multiple devices. Thus, developers donot have to account for fundamental differences in device and protocolcharacteristics. For example, when a new “Light Dimmer” product is addedto the CANDI system database, the new product is characterized such thatit may be uniformly treated in the same way as existing devices in theCANDI system database.

Referring now to FIG. 1A, a block diagram of the CANDI system 100 isshown, in accordance with an embodiment. The CANDI system 100 includes anetwork operations center (NOC) 101 and a system 111, including theserver 108 coupled with one or more databases 102. In some embodiments,the server 108 includes an application server 103 and a server 104dedicated to information relating to the system 111 operations. The NOC101 and the system 111 are connected over a network (e.g. Internet 105).The system 111 manages device(s) 110 within a domain 107 of the premises106.

The NOC 101 functions to manage, as will be described herein, at leastbut not limited to, any of the following: application libraries; devicedriver libraries; product administration; third party applicationdevelopment tools and quality control; system and accountadministration; premises communications; premises system creation andediting; managed services; and hosted services.

The NOC 101 also manages Web sites, such as, but not limited to, any ofthe following: a marketing site; an eCommerce site; a forum; and asupport site. Further, corporate functionalities may also occur at theNOC 101, such as, but not limited to, any of the following: developmentand quality control; CRM; office functionalities; collaboration;accounting and human resources; and IT management.

The server 108 hosts local applications, and via application servicesprovides data to and receives commands from remote applications, such aswould be installed on a mobile phone. The local applications and remoteapplications are represented by the box “application 120” in FIG. 1. Theserver 108 and components thereon are programmed by the NOC 101 based onthe configuration(s) of a device(s) 110. The NOC 101 accesses (eitherfrom a third party or the server 108) a list of the devices on thepremises 106. The NOC 101 then uses its power, intelligence and libraryto compile the device drivers and the applications or applicationservices necessary to be accessible by the server 108 in order to managethe devices. The NOC 101 then downloads these necessary components tothe system 111 (including the server 108). Once this compilation anddownload have occurred, the NOC 101 is no longer needed to facilitateactions to be accomplished in the domain 107.

The NOC 101 and the server 108 also exchange historic and real-timeinformation regarding diagnostics, operations and support toolsassociated with the devices 110, premises 106 and external informationknown to the NOC 101.

As part of the system 111, coupled with the premises 106 and inassociation with the functioning of the CANDI system 100, are at leastthe following: the server 108; one or more database 102; a controlengine, transport links; and an embedded platform.

Also shown in FIG. 1A is a set of devices (one or more devices [havingone or more computers thereon] such as a mobile phone, personalcomputer, etc.) 109 that are capable of communicating with the NOC 101and/or the server 108 remotely. This set of devices 109 may include, butis not limited to the following: a desktop computer; a laptop computer;a personal digital assistant; a tablet; a networked television; and amobile phone. A subscriber may send instructions to the NOC 101 and/orthe server 108 via the set of devices 109.

With regard to how a customer initially integrates a product within theCANDI system 100, the following may occur. The customer buys the server108 and a CANDI-compatible product at a store. Of note, to beCANDI-compatible, a product's inherent attributes have already beencharacterized by the NOC 101 (thereby becoming a “device” 110), suchthat it may be integrated within the CANDI system 100 once installed andinformation about the device 110 is downloaded onto the server 108 atthe premises 106.

The customer then installs this device 110 on the premises 106. Next,the customer goes on-line and downloads information (which may include adevice driver, which is a CANDI characterization of the device 110) tothe server 108. Once the information is downloaded, a representation ofthe device 110 may be displayed such that the customer can identify itsaccessible location and attributes on the server 108.

Additionally, once the information is downloaded, the device 110 may becontrolled by the server 108, by a remote device of the set of devices109, and/or indirectly remotely controlled by a third party or the NOC101. For example, third parties may access the server 108 over thenetwork 105, and update and/or change an application 120 of a device 110via the server 108. Developers may easily perform these modificationsbecause the device 110 is already CANDI-compatible and the developers donot have to know anything about the protocols associated with the device110.

In another instance, an electrical utility company may write its ownsoftware application, such as an application for a mobile phone. Thissoftware application is configured for talking to the server 108. Theserver 108, in turn, interprets the software application's instructionsand converts these instructions to represent the correct actions and thecorrect protocols needed to communicate with products, such as thedevice 110. Thus, a person may click on a mobile phone energyconservation icon (an application that a third party [e.g. utilitycompany] wrote), which then sends a command to the server 108. Thecommand is intended to instruct all devices within the premises 106 toconserve energy. The server 108 translates this command for the variousdevice types, instructing lights to dim and the thermostat to loweritself by a measurable number of degrees.

Thus, embodiments provide a method and system enabling standards-basedcommunication and control of otherwise incompatible networked devices inbusinesses and homes. Further, the CANDI system 100's unifying frameworkand open application APIs allow major manufacturers and serviceproviders to quickly and easily extend their consumer services to offerthe industry's most complete, personalized integration of energymanagement, entertainment, security, health monitoring and networkedappliances.

The CANDI system 100 also reduces the cost of on-premises productinstallation by shifting labor-intensive device configuration andpersonalization to a web process. Highly-trained system integrators andprogrammers are no longer required to deploy smart appliances, whichreduces the time and cost of deploying premises control by 50% or more.

The CANDI system 100 is globally deployable because it isproduct-agnostic and platform-agnostic. Product libraries, applicationsuites, user accounts, domain setup and product selection may all beadministered on the WEB. Secure control applications are also remotelyaccessible by a subscriber. Additionally, a small-footprint gatewaystack, residing on-premises in a partner's local router, cable box orother CE product, is configured automatically by the NOC 101 for eachunique domain 107.

Therefore, through its open application interfaces and device-agnosticintegration and control capabilities via standard Web services, theCANDI system 100 decreases the installation costs of devices andincreases a customer's choice of products, brands and user interfaces.

The following discussion includes the following six sections: (1)Managing a Domain; (2) Achieving a Uniform Device Abstraction Layer; (3)Maintaining a Domain; (4) Targeting Delivery Data; (5) EnablingCustomized Functions to be Implemented at a Domain; and (6) CANDI system100. Further, Section One begins with a broad description, via FIGS.1B-1J, of various component operations of the CANDI system 100.

Section One: Managing a Domain

As described briefly above, the CANDI system 100 includes a system 111(for managing devices within a domain 107) and a NOC 101, wherein thesystem 111 and the NOC 101 are connected over and communicate via thenetwork 105. The following discussion, referencing FIGS. 1A-1J, providean introduction to further functioning aspects of the CANDI system 100,while assisting the reader to understanding the management of the domain107 within the larger framework of the CANDI system 100.

FIG. 1B shows the server 108 located at the premises 106, in accordancewith an embodiment. With reference now to FIGS. 1A and 1B, the premises106 includes a domain of devices, such as devices 110A and 110B(hereinafter, “device 110”, unless otherwise noted), a personal computer118 (optional), as well as the system 111 which includes the server 108.An exploded view of the server 108 shows the server 108 coupled with thefollowing: a web service interface 114 that is itself coupled with aserver 113; one or more databases 102; and (one or moreprotocols-specific) device drivers 115A, 115B and 115C (hereinafter withregard to FIGS. 1A-1I, “device driver 115” unless noted otherwise)coupled with (one or more protocols-specific) hardware 116A, 116B and116C, respectively (hereinafter, with regard to FIGS. 1A-1I, “hardware116” unless noted otherwise).

Significantly, the personal computer 118 is not required forinteractions with the device 110. For example, a user can connect viaany mobile or stationary computing device application to the server 113in order to access the system 111 at the premises 106. In this manner,the user may configure the system 111, add equipment, and manageschedules and macros. Further, the personal computer 118 is alsoaccessible using the server coupled with the local area network (LAN) ofthe NOC 101.

The premises 106 is coupled with, via the Internet 105, the NOC 101. TheNOC 101 includes all protocol, device and security integrationknowledge. The NOC 101 enables the user to configure devices, createmacros and schedules, authorize user access and get support.Additionally, once configurations are complete with code, data,schedules, protocol interactions, etc., a customized download (e.g.application) may be downloaded from the NOC 101 to the system 111.

The server 108 connects on occasion to the NOC 101 to determine if theNOC 101 has tasks for the server 108 to download and process, forexample third party system alerts, managing NOC 101 configuration,getting the latest control scripts, streaming (e.g. video, audio,photos), and remote access. The server 108 handles security interactionsbetween protocols and has locked and unlocked modes for security. Theserver 108 also handles device initiated events which can triggerconfigured actions (e.g. macros, device actions) and the execution ofmacros and scheduled events. The server 108 may be resident on variousforms of hardware (e.g. stand-alone box, router, cable set-top box). Theserver's 108 connection to the NOC 101 is established through anoutbound HTTP-based polling process, so that no domain router/firewallchanges are required on the premises 106 for the system to operate.

The web service interface 114 is an interface that is used by allapplications (CANDI configured) to communicate with the device(s) 110.The device driver 115 is a protocol specific device driver thatunderstands how to talk to the hardware 116 (the protocols-specifichardware). The device driver 115 is downloaded to the system 111 via theNOC 101, when needed.

The hardware 116 may be built into the server 108 or may be a pluggableor a network-addressed attachment (e.g. USB, RS-232, Ethernet).

The one or more databases 102 provide file storage for the server 108for such items as server files (e.g. control scripts, macros, schedules,device data repository [e.g. camera, snap shots]), web pages for homemanagement, pages created by the homeowner, and CANDI system 100configured applications.

FIG. 1C shows the server(s) 113 located in a web environment (e.g.MySQL(s) 122) communicating with the server 108 on the premises 106, inaccordance with embodiments. Other web environments may include, but arenot limited to being the following: Linux; Apache; PHP; open-sourcetools.

With reference now to FIGS. 1A-1C, coupled with the server 113 are, butnot limited to, the following entities and/or services: factory 123;partner services 124; public WEB 125; operation 126; and data services127.

Services associated with the factory 123 include at least any of thefollowing: ability to configure device information (e.g. name, location,ID); ability to configure application information (e.g. images, devicelocations); and creating and managing scenes and macros.

Services associated with the partner services 124 include at least anyof the following: event (e.g. demand, message) management; exportreports such as usage data; alarms about usage and other events; NOC 101administrative and operational services; creation of groups of domains;and device unavailability alarms.

Services associated with the operations 126 include at least any of thefollowing: drop-ship pre-configured devices to domains; andautomatically discovering of device configuration information.

Services associated with the data services 127 include at least any ofthe following: demand response events and tracking; weather by domainlocation; resource usage rates; real-time events setup and triggering;real-time messages creation and queuing; and message transmittal (e.g.to email; SMS; twitter; applications).

Coupled with the server 108 is the application(s) 120. Theapplication(s) 120 can either be hosted locally on the server 108 ornatively on a computer 118 such as a mobile device or laptop. In regardto the application 120, HTTP or HTTPS is used to transmit communicationsbetween the application 120 and the server 108. A login is optionallyrequired for such communication. In one embodiment, there is a REST/JSONinterface for all requests, through which commands and data retrievalrequests to/from devices 110 are “normalized” for ease of use by theapplication 120 (e.g. all device type “Lights” regardless of make, modelor protocol are addressed by the application 120 through an identicalPOWER_ON, POWER_OFF command presented by the REST/JSON interface).

With regard to the relationship between the server 108 and application120, the server 108 has “sync” capabilities over HTTPS and is enabled tobe coupled with various hardware 116. The server 108 can perform deviceaction management and subscription management (the application 120 getsnotified when the action changes on the device 110) via the devicedriver 115 and associated hardware 116. Metered data from actions andreports from the device 110, and usage of the application 120, isarchived.

The syncing capabilities occur via Ethernet-based packets includingHTTP, HTTPS, and UDP. They include, but are not limited to, thefollowing: device configuration changes (e.g. names, scenes, ids);adding and removing devices; on-demand events and messages; updating thesystem 111 with new versions of software; archiving local data to theNOC 101; archiving polling device data to the NOC 101; server addressinformation (including local and WAN IP, and host hardware MAC ID);downloading new local application 120 code and supporting files;creating a local configuration file which contains all current deviceand domain information for local use by applications; and data servicesdeliveries.

FIG. 1D shows the server(s) 113 communicating with the server 108 on thepremises 106, in accordance with embodiments. FIG. 1D enables thediscussion of the method of operation of the CANDI system 100, inaccordance with embodiments.

With reference now to FIGS. 1A-1D, first, the configuration applicationsrun on the server 113, using a database 129 (that is already CANDIsystem 100 configured). Once all the configuration applications havebeen run on the server 113, then the server 113 talks to the system 111and downloads all appropriate information/drivers for the system 111 tocoordinate with the application 120 for the purposes of controlling andmonitoring the domain 107 and its associated devices 110. Theapplication 120 that was configured by the server 113 makes a request ofa control operation to be performed. If/when the web service interface114 accepts this request, the request is written to the one or moredatabases 102. A device driver 115 polls the database 102 frequently fornew requests and acts on these requests as appropriate. In oneembodiment, the device driver 115 may be a “Z-Wave” device driver, andthe hardware 116 coupled therewith may be a Z-Wave radio transceiver. Inone embodiment, a device driver 115 detects a monitored event from adevice 110 via the hardware 116, and writes the event to the one or moredatabases 102. A scheduler 130 is always monitoring the one or moredatabases 102 for scheduled timed events, and the occurrence ofreal-time events. The scheduler 130, in one embodiment, runs strings ofpredetermined requests (“macros”) as appropriate (e.g. from events,schedules, or users).

FIG. 1E shows the server 108 on the premises 106 coupled with the server113 at the NOC 101, according to an embodiment. With reference now toFIGS. 1A-1E, the server 108 holds system related data and applicationdata. In one embodiment, the system data and the application data arecontrolled by the same server. However, in another embodiment, thesystem data of the system 111 is controlled by the server 104 and theapplication data of the system 111 is controlled by the applicationserver 103.

The system data of the system 111 is data having at least any of thefollowing characteristics: that data which is needed for the system 111to work; queryable by applications for the current web environment 122;web service queryable data (e.g. device ID, name, type of device, brand,model, available actions); and system use data (e.g. control scripts,protocol driver information, user login information).

The application data is that data having at least any of the followingcharacteristics: application data that is served up by the server 108;type of computer hosting the application; application usage informationsuch as web analytics; user screen layouts and page configurations; anduser information.

The one or more databases 165 coupled with the server 113 may be atleast any of the following: a database holding application information;a database holding current domain configurations; and a data baseholding device information. Of note, all information may be held by onedatabase at the server 113, or by more than one database 165 at theserver 113.

The database holding application information holds information such as,but not limited to, user screen layouts and information about how theapplication is intended to work. The database holding current domainconfigurations holds information such as, but not limited to, thecurrent configuration for every premises 106, devices, macros, users,and a copy of the data associated with the system 111. The databaseholding device information holds information such as, but not limitedto, all the devices that are supportable in the system 111, and modelsand scripts.

FIG. 1F shows the server 108 (having a server 104 and an applicationserver 103) on the premises 106, wherein the server 108 is coupled withthe server 113 (residing on the NOC 101), according to an embodiment.With reference now to FIGS. 1A-1F, in one embodiment, the user logs intothe server 113 at the NOC 101 from their personal computer or mobilephone 112, and requests that a configuration application be run, suchthat the user is allowed to configure the premises 106 with the rightequipment, etc., already installed in their home. The user also choosesall applications that they are interested in using in their home. Then,once the configuration is finished, the user sets the system 111 to astatus of “Config Complete”. This status setting triggers the NOC 101 tosynchronize the server 108 with the executed configuration. Bysynchronizing, for example, the device configurations, applicationdata/images, macros, and schedules are configured to operate properlywith the applications 120 to be installed and thereby to control andmonitor the devices 110 in the domain. As partially described herein,the server 113 includes information such as the user's information,devices, device information, products, product information, and otherrelevant database tables.

FIG. 1G shows a flow diagram of the relationship between the NOC 101 andthe system 111 during a device configuration process, according to anembodiment. With reference now to FIGS. 1A-1G, within the NOC 101, at135, the user addresses the issue of configuration for devices on thepremises 106. At 136, the user chooses a device 110 (e.g. off-the-shelfproduct) to put into the premises 106. At 137, it is decided if there isa server 108 ready at the premises 106 to address the configurationrequest. If there is not a server 108 already installed, then at 138,the user is only able to change the label of the device 110. At 139, thedevice 110 stays in the preinstall state until the server 108 (and othernecessary components, or even the device itself) arrives at the premises106.

If the server 108 already exists in the premises 106, then, at 140, theuser selects the server 108. Once the server 108 is selected, then at149, a “JOIN” command is sent from the NOC 101 to the server 108. At141, the server 108 receives the JOIN request and goes into the JOINmode. Further, the server 108 returns a confirmation of the JOIN mode.At 143, the server 108 accepts the new device JOIN. At 144, the server108 uploads the new device information to the NOC 101. At 145, the NOC101 receives and saves the uploaded new device information. The server,at 146, updates the one or more databases 102. As an alternative, afterthe sending of the JOIN command is ordered at 140, at 142, the user istold to press a button on the device 110 to join. If the user wishes toremove a device from the domain, then instead of the JOIN command beingsent at 140, a REMOVE command is sent at 147. At 148, pre-installdevices are flagged.

FIG. 1H shows a flow diagram of the relationship between the NOC 101,the system 111, and the factory that manufactures the server 108,according to an embodiment. With reference now to FIGS. 1A-1H, at 150,during the manufacturing (staging 159) of the server 108, aconfiguration file is created. Of note, the following are somecharacteristics of the configuration file: the type, make and model ofthe server's host hardware; the MAC ID of the server's host hardware;and the NOC IP address to which the server synchronizes. At 151, theserver 108 is shipped to the customer. At 152, the server 108 arrives atthe premises 106. At 153, on powerup, the server 108 startssynchronizing automatically with the NOC 101.

At 154, the server's 108 configuration information is sent to the NOC101. Of note, the following additional characteristics of the server'sconfiguration are known at this step: server's unique identifier withinthe NOC; the server's local and remote IP address. Also, at 155, it ispossible that the server 108 is auto-selected for the user since theserver 108 is known.

At 155, the user selects the device that he/she wishes to add to thedomain. At 156, a new server configuration file is downloaded. At 157,the server 108 receives the server configuration file. At 158, theserver 108 is ready to integrate the new devices. Of note, the followingadditional characteristics of the configuration are known at this step:the type, make and model (and associated required device drivers andrequired hardware, if any) of the new device(s).

FIG. 1I shows a block diagram of more than one server (shown here asservers 161A, 161B and 161C) coupled with the NOC 101 over a LAN andresponding to an application running a macro, according to anembodiment. With reference now to FIGS. 1A-1I, the diagram shows anapplication 160 communicating with the NOC 101 and the servers 161A,161B and 161C, wherein the server 161C is the “Prime” server. Server161A is coupled with device 162A (light) and 162B (meter). Server 161Bis coupled with devices 163A and 163B (lights). Server 161C is coupledwith devices 164A and 164B (lights), and device 164C (thermostat). Eachserver, 161A, 161B and 161C stays in sync with the NOC 101.

When a triggered event occurs for a device (whether polled or real), theevent triggers a macro. The macro is run at the Prime server (server161C). The application 160 finds the server 161C on the LAN in thefollowing manner: the browser points to{userDefinedUniqueName}.candicontrols.com/{appName}; and the DNS managedby the NOC 101 returns the IP address for the device 161C (the Primedevice), and the application starts running.

In the example given in FIG. 1I, the application 160 runs the macro thatturns off all lights. In regards to the macro: the macro is set up inthe NOC 101; the macro is ready to run on the device 161C (prime device[“zPrime”]); the application 160 sends RUN_MACRO to zPrime; the zPrimeexecutes the macro; and the zPrime for the macro sends the command foreach action to each responsible server. Thus, when the application 160requests that light B be turned off, the zPrime sends the request to theserver 161B to turn off the device 163A. With respect to the zPrimeserver: the scheduler 130 runs at this server only; macros are supportedhere only; applications are supported here only; and action requests(application, macro) to run actions on other server managed devices aresent to that server.

The above discussion, with reference to FIGS. 1A-1I, provides aframework for understanding for the following description ofembodiments.

The system 111 of FIG. 1A includes a system 200 (see FIGS. 2A and 2B)for managing a domain 107, as will be described with reference to FIGS.1A-2B below. FIGS. 2A and 2B show block diagrams of a system 200 formanaging a domain 219 in a premises 218, wherein the domain 219 includesat least one device 220A, 220B, and 220C (hereinafter referred to as“device 220” unless specifically noted otherwise) configured forproviding an action 202, according to embodiments. The system (andcomponents thereof) 200 includes a server 210 (e.g. analogous to theserver 108 of FIGS. 1A-1J) thereon and is configured to perform thefunction of the system 200 on a small-footprint computing device (e.g.router, cable TV box, at least one device 220 in the domain 219).

The system 200 is bought at a store, along with a device 220 and a pieceof hardware. The buyer retrieves, on-line, downloaded information aboutthe device 220. The system 200 informs the buyer of the location withinthe system 111 at which the device 220 is accessible. The software thatis seen on the computer associated with the device 220 may be “branded”by the provider of the device 220 hardware.

The system 200 includes: an action identifier 201; a device driverdeterminer 203; a comparer 204; and a device driver implementer 205. Infurther embodiments, the system optionally includes: a gateway module206; a data tracker 207; a data sender 208; a device searching module240; and a device notifier 242.

The action identifier 201 identifies an action 202 to be mapped to adevice (such as device 220B) of the at least one device 220, wherein thedevice 220 includes a communication port 224 that supports a firstprotocol 226. Of note, according to embodiments, “actions” are supportedby device drivers that are specific to the system 200. However, devicedrivers may be designed to support more actions than the current versionof the system 200 is able to implement. For example, a newer version ofthe system 200 installed on the server 210 may support the actions thatare already supported by installed device drivers. Further, inembodiments, actions are standardized so that expected results can beachieved from a particular action, regardless of the vendor or protocol.

As shown in FIG. 2A, devices 220A and 220C includes communication ports224A and 224C, respectively. Communication ports 224A, 224B and 224Cwill hereinafter be referred to as “communication port 224”, unlessspecifically noted otherwise. Also, communication ports 224A, 224B and224C include first protocols 226A, 226B and 226C (hereinafter referredto as “first protocol 226” unless specifically noted otherwise). As willbe explained in further detail below, the communication port 224supports the first protocol 226 of the device 220.

In embodiments, the communication ports 224A, 224B and 224C areconfigured to communicate via physical communication methods 222A, 222Band 222C, respectively (hereinafter referred to as “communication method222” unless noted otherwise, only communication method 222B is shown inFIGS. 2A and 2B). This communication method 222 may be any of, but notlimited to, the following: infrared; z-wave; Zigbee; serial; IP; X-10RF; Ethernet; and USB.

In one embodiment, the physical communication method 222 is coupled witha legacy device 220C, in this instance, such that the legacy device 220Cis compatible with a functioning of the system 200.

For example, but not limited to such example, a third party may connectvia the network 105 to the server 210. The third party requests that itsdeveloped third party application be run on device 220B within thedomain 219. Once receiving this request, the action identifier 201 ofthe system 200 identifies the action(s) 202 associated with the thirdparty application that is requested to be run on the device 220B.

Next, the device driver determiner 203 determines a device driver 230,for example, that supports a second protocol 231, wherein the secondprotocol 231 supports the action 202 that was identified. For example,the device driver determiner 203 determines what device driver (locatedat the premises 218), if any, that includes the protocol which willsupport the functioning of the action 202 associated with running thethird party application on the device 220B. Device drivers are coupledwith devices, such as device 220, and are built specifically for asupporting a protocol of n number of actions, such as action 202.

The comparer 204 compares the second protocol 231 with a domainconfiguration store 215 of a database 214. The domain configurationstore 215 includes device configuration information 216 for the at leastone device 220, and more specifically, for device 220B. The deviceconfiguration information 216 includes information regarding the devices220, such as what protocols are supported by the communication ports 224disposed thereon. In the example given regarding the third partyapplication being requested to be run on the device 220B, the comparer204 determines if the first protocol 226B corresponds to the secondprotocol 231 supported by the device driver 230. The term, “corresponds”refers to a matching, or a substantially matching circumstance in whichthe first protocol 226B is the same or substantially the same as thesecond protocol 231, such that the action 202 may be performed since thedevice 220B is supported by an appropriate device driver 230. Thus,without a device driver 231 that is able to support the requestedactions 202 to be run on the device 220B, it would not be possible forthe third party application to be run on the device 220B.

The device driver implementer 205 implements the device driver 230 whenthe first protocol 226 corresponds to the second protocol 231 such thatthe action 202 is enabled for performance. In other words, if it isfound that the first protocol 226 and the second protocol 231 of thedevice driver 230 at least substantially match in terms of performingthe action 202 that was identified, then the device driver 230 isimplemented. The term, “implemented”, refers to the designation that anaction 202 is directed to be performed using the device driver 230.Thus, once it is determined that the first protocol 226B of the device220B corresponds to the second protocol 231 of the device driver 230,then the device driver 230 is implemented, such that the action(s) 202relating to running the third party application may be performed.

Thus, embodiments automatically map the actions requested to beperformed to a device that is capable of supporting the actions, bydiscovering device drivers that also support a protocol supported on acommunication port of that device.

Domain 219 is identified by a unique combination of subscriber name anddomain address. Devices 220 within the domain 219 can be populated andedited on the site in real time. Domain configurations are saved to thedomain configuration store 215 as device configuration information 216.Devices 220 are validated and auto-mapped within the domain 219. Thelocal application is recompiled and synchronized to the domain'suniversal bridge.

In the system 111, a manufacturer's product (which is desired to becomea device 220 located at the premises 218) is characterized andimplemented to become a device 220. Examples are end-point controlproducts (e.g. “light dimmer”, “DLNA TV”) and protocol bridges (e.g.“Global Cache IP-to-Infrared Bridge” or the server 210). Themanufacturer's product is further uniquely characterized by theirparticular manufacturer (“Make”) and “Model” number.

Every CANDI system 100-addressable product is further characterized withone or more communication ports 224, which are defined by their physicalcommunication method (e.g. infrared, z-wave, Zigbee, serial, IP, X-10,RF, etc.), and by a protocol running over that communication port 224.Once a communication port 224 and protocol have been defined for adevice 220, the system 200 or third-party device driver developersdetermine whether that communication port 224 requires field-determinedinformation concerning its configuration. For example, if a device 220has a communication port 224 with a z-wave physical communication method222, then the device driver 230 must include a data field for theindividual z-wave node address on that communication port 224. A singlecommunication port 224 may require more than one port data filed, suchas both address and login information.

Based on the protocol 226 that is supported on the communication port224, the system 200 maps the action(s) 202 supportable by the device 220by discovering device drivers, such as device driver 230, that alsosupport that protocol 226 (presuming a device driver implementer 205 iscoupled with the server 210).

In one embodiment, the gateway module 206, coupled with the server 210,manages an application 209. Of note, while the application 209 is shownto be residing on and native to the server 210, it should be appreciatedthat the application may be downloaded and be running on devices such asphones, computers, etc. that may be located on the premises 218 or beremote from the premises and are able to communicate with the server210. Thus, the application 209 need not be served from the server 210,but from a device remote from the server 210. The downloaded application209 controls the at least one device 220. The downloaded application 209has access to the system 200 in order to control the devices 220, by,via the gateway module 206, calling (handling) macros, polling fordevice status, accessing historic data, etc.

In one embodiment, the data tracker 207, coupled with the server 210,tracks data associated with the at least one device 220. For example, inone embodiment, the data tracker 207 tracks diagnostic information forevery device, such as, but not limited to: communications routing; thehops between the server 210 and the device 220; the radio strength; andcommunication attempts and failures. This diagnostic information isuploaded and stored in the database of NOC 101 for aggregation andpresentation of metrics through the NOC 101 software. In anotherembodiment, the data tracker 207 performs any of the following: tracksevery request made; which user made a request; and when the requestoccurred. Essentially, the data tracker 207 tracks and reports differentkinds of data for different devices and needs.

In one example, for energy management, logs are kept on the system 200for between 15 minute and up to 2 months. Data beyond that is archivedat the NOC 101. The storage location is transparent to the system 200(although the retrieval time will be a little longer for data retrievedfrom the NOC 101).

In one embodiment, the data sender 208, coupled with the data tracker207, sends tracked data to a remote location 235. This remote locationmay be the NOC 101 or a component coupled with the NOC 101, such as theremote server. Hereafter, the remote server is denoted to be “server235” residing on the NOC 101. This tracked data is stored at the NOC 101in a database or a component coupled with the NOC 101 for aggregationand presentation of metrics via the NOC 101 software.

In one embodiment, the device searching module 240, coupled with theserver 210, discovers a device, such as device 220B, of the at least onedevice 220 on the premises 218. For example, when a new device is addedto the premises 218, then the device searching module 240 “discovers”that this new device exists. In one embodiment, the device notifier 242,coupled with the device searching module 240, notifies a subscriber 217of the discovered device 220B.

In one embodiment, the system 200 automates the control of differentdevices 220 with different protocols 226. The “automating” of thecontrol of the different devices is different from “talking” todifferent devices. For example, the energy consumption levels for apremises 218 may be adjusted by applying internal and externalcharacteristics to heating, cooling and lighting systems within thepremises 218. This process may be termed to be “environmentally-drivenhysteresis”. Thus, the system 200 tailors an environment to a person.For example, when it is very cold outside and one walks into a house(premises 218), the house feels warmer than it really is. The system 200provides for an action 202 in anticipation of this feeling, and turnsthe heat down in the house. This functioning provides significant energysavings.

Furthermore, device drivers, such as device driver 230, may be populatedand edited via a proprietary web site in real time.

In one embodiment, the system 200 pre-categorizes content across allavailable sources. The order of the pre-categorized content is byhierarchy instead of location. In contrast, the current method by whichDLNA compatible devices reveal media content is by location. Librariesof content within a network are organized by device (location) and notby the content (e.g. music) itself.

FIG. 2C is a flow diagram of a method 250 for managing a domain 219, inaccordance with embodiments. In one embodiment, method 250 is embodiedin instructions, stored on a non-transitory computer-readable storagemedium, which when executed by a computer system (see 700 of FIG. 7),cause the computer system to perform the method 250 for managing adomain 219. The method 250 is described below with reference to FIGS.1A-2C and 7.

At 251, in one embodiment and as described herein, the method 250includes identifying an action 202 to be mapped to a device, such asdevice 220B of the at least one device 220, wherein the device 220Bincludes a communication port 224B that supports a first protocol 226.

At 252, in one embodiment and as described herein, the method 250includes determining a device driver, such as device driver 230, whichsupports a second protocol 231, wherein the second protocol 231 supportsthe action 202.

At 253, in one embodiment and as described herein, the method 250includes comparing the second protocol 231 with a domain configurationstore 215, wherein the domain configuration store 215 includes deviceconfiguration information 216 for the at least one device 220.

At 254, in one embodiment and as described herein, the method 250includes, based on the comparing at 253, implementing the device driver230 when the first protocol 226B corresponds to the second protocol 231,thereby enabling the action 202 for performance.

At 255, in one embodiment, the method 250 includes; populating the atleast one device 220; editing the at least one device 220; and trackingdata for the at least one device, wherein the tracked data includes:device configuration information 216; and usage data. It should beappreciated that the populating, editing and tracking denoted at 255 maybe performed separately in one embodiment, and in various combinationsin other embodiments.

By populating, it is meant that the system 200 updates and/or edits theapplication associated with the at least one device 220. In anotherembodiment, the at least one device 220 is enabled to be populatedmanually by a user. In one embodiment, the at least one device 220 isenabled to be edited manually by a user. Additionally, the followingdata may be tracked: diagnostic information; a request made by the user;which user made the request; and when the request occurred. The trackingof diagnostic information for the at least one device 220 includes:communications routing; hops between the server and the device; radiostrength; and communication attempts and failures.

At 256, in one embodiment and as described herein, the step 255 furtherincludes uploading the tracked data to a remote location 235. It isdiscussed herein that the remote location 235 is the server 235 of atleast FIGS. 3A-4C.

At 257, in one embodiment and as described herein, the method 250further includes reporting data for the at least one device 220. Thereporting may be provided locally, at the premises 218, or to a remotelocation (e.g. NOC 101).

At 258, in one embodiment and as described herein, the method 250further includes actuating the action 202 based on one of a user inputand at least one predetermined condition. For example, the device 220Bmay be adjusted by the system 200 to be a predetermined condition (e.g.energy saving instructions given to a thermostat, such that thethermostat lowers itself). The user input is an input given to thesystem 200, directly or indirectly, by a user.

At 259, in one embodiment and as described herein, the method 250further includes presenting pre-categorized content from availablesource by hierarchy, wherein the available sources reside within anaccessible network.

Section Two: Achieving a Uniform Device Abstraction Layer

As discussed above, the CANDI system 100 includes a system 111 formanaging devices within the domain 107 and the NOC 101. The NOC 101interacts with the system 200 of the system 111, to achieve a uniformdevice abstraction layer. The uniform device abstraction layer, in oneexample, enables a third party developer to develop applications to berun on at least one device in the domain, without needing to knowanything about the device or the protocol on the device driverassociated with the device.

FIGS. 4A and 4B show a block diagram of the system 400 for achieving auniform device abstraction layer, in accordance with an embodiment. Withreference now to FIGS. 1, 2A-2C, and 4A and 4B, in one embodiment, andas will be described below, the system 400 includes a device classdeterminer 401 that is coupled with the (local) server 235. The system400, in various embodiments, optionally includes any of the following: athreshold notifier 402; an updated information requester 403; a datareceiver 404; a data comparer 406 coupled with a data set determiner407; a history reporter 408; a trend projector 409; a recommendationgenerator 419 having optionally a data analyzer 426; an action initiator418; an action comparor 415; a subscriber data receiver 413 coupled witha subscriber grouper 416; a subscriber data receiver 413 coupled with asubscriber manager 414; a web service accessor 411 coupled with asubscriber information comparor 412; a registration processor 410; asubscriber tunnel initiator 431; a third party tunnel initiator 428; anda device discovery module 430.

The device class determiner 401 establishes a device class 422 (Seedevice classes 422A, 422B and 422C located at the database 314[hereinafter, “device class 422” unless noted otherwise].) for at leastone device 220 residing in a domain 219 of the premises 218. The deviceclass 422 refers to a device 220 that would fit within a type ofdevices, such as a “light dimmer” in a device class, “lights”,incorporating all light related products from various companies, or athermostat from Company A in a thermostat class, “thermostats”,incorporating all thermostat products from various companies. Forexample, when the system 400 adds a new “Light Dimmer” product to its(local) database 314, it is added with planning and precision so that itis uniformly treated the same as existing products in the database 314.

Other possible device classes may be, but are not limited to, thefollowing list: energy monitors; light dimmers and switches; plug-inmodules; electrical infrastructure; solar systems; smart grid; securitysystems; cameras; health products; control systems; door locks; windowcoverings; audio/video components; appliances; network and bridges; andcommunications and services.

Based on the establishing of a device class 422, an action 202 isenabled to be mapped to the device, such as device 220B, therebyenabling an application to be built and run on the device 220B, whereinthe application utilizes a capability of the device 220B.

As explained herein, the at least one device 220 resides in a domain 219of a premises 218. The domain 219 is coupled with the (remote) server210. A device, such as device 220B of the at least one device 220includes the communication port 224B that supports a first protocol 226Bthat corresponds to the second protocol 231. The second protocol 231 issupported by a device driver, such as device driver 230, which is alsocoupled with the domain 219.

The CANDI system 100, including the system 400, achieves the uniformdevice abstraction in the following four dissimilar cases: (1) similardevices in a domain 219 may operate with different protocol versions andtherefore different actions. For example, a General Electric z-wavelight that is 2 years old supports a z-wave version 1.0 while a newerGeneral Electric z-wave light in the same domain 219 supports a z-waveversion 2.0; (2) different devices may implement different actions overthe same protocol. For example, a General Electric z-wave light dimmersupports data subscriptions, but Lutron's z-wave light dimmer does notsupport subscriptions; (3) across all CANDI system 100 domains, thereexist different versions of device drivers supported for the sameproducts. For example, the Tivo Device Driver at Bob's house is a CANDIsystem 100 version 1.0, but at Steve's house, it has been updated toversion 2.0. Both versions are running on the same bridge hardware; and(4) enables uniformity in the case of a new product being available andthe CANDI system 100 has the device driver 230, but the subscriber mayhave an older version of the server 210 that does not support the newestdevice driver. The database 314 would not allow the newest product to beadded to that subscriber's domain 219 until the subscriber upgradeshis/her firmware or bridge. For example, Silver Spring's electric meterrequires a USB key to access its data log, but the subscriber's bridgedoes not have a USB port.

Further, embodiments provide for uniform remote provisioning ofweb-based services generically across the CANDI system 100 so thatschedules, scenes/macros, backups, online configuration, etc., are allavailable easily to the developer regardless of their device, protocol,control platform or application choices. The CANDI system 100 isagnostic about integrating web services.

The threshold notifier 402 is coupled with the server 235 and notifiesan entity when a threshold is achieved. An entity may be the subscriber217 or a third party connected to the system 400. Thus, based oninternally and/or externally performed data analysis, a notification isprovided by the threshold notifier 402 to an appropriate entity when athreshold is met and/or exceeded.

The updated information requester is coupled with the server 235 andrequests updated information from the (remote) server 324. This updatedinformation may include, but is not limited to: new devices available atthe premises 218; and ongoing information gathered from monitoring thedomain 219.

The data receiver 404 is coupled with the server 235 and receives datafrom an external source. The external source is from an entity externalto the system 400. The data storer 405 is coupled with the data receiver404 and stores the data in the database 314 that is coupled with theserver 235.

The data comparer 406 is coupled with the server 235 and comparesreceived data with the database 314. The data set determiner 407 iscoupled with the data comparer 406 and determines a set of data 425 thatmeets a predetermined condition based on the comparing of the datacomparer 406. For example, after receiving information of a particulardevice and a competing device, a determination and comparison is made asto the energy efficiency of each device compared to each other. Inanother example, the system 400 compares the total or partial energyusage of neighbors of a subscriber 217 with the subscriber 217 (assumingthe neighbors are also subscribers to the CANDI system 100).

The history reporter 408 is coupled with the server 235 and reports ahistory of received data. For example, the history reporter 408 providesa history of a particular event(s) occurring at one or more servers,applications, etc.

The trend projector 409 is coupled with the server 235 and projects afuture trend on received data. For instance, in regard to time userates, the trend projector 409 calculates and displays a customer'scurrent rate and projects for the future, based on the customer'shistorical usage at the moment, when that customer will reach the nexttier (given a tiered system of energy use corresponding to a dollaramount). In another example, in regard to predictive rate reduction, thetrend projector 409 projects a rate to occur at the end of a billingcycle. In some situations, the season and rate program for thatparticular customer must be accessed. Additionally, input from theutility side is also needed.

The recommendation generator 419 is coupled with the device classdeterminer 401 and generates a recommendation 420 for a subscriber 217based on data stored in the database 314, wherein the database 314 iscoupled with the server 235. In one embodiment, the recommendationgenerator 419 includes the data analyzer 426 that analyzes the datastored in the database 314. For example, after receiving data, includingdevice information, energy usage, usage of appliances, housetemperature, seasonal temperature, the age of a refrigerator, etc., thesystem 400 sends a recommendation to the subscriber 217 to, “Turn downthe temperature on your refrigerator”. The data stored in the database314, in one instance, is that received data gathered from devicesmonitored and the customer's use of the device's monitored. In anotherexample, the recommendation generator 419, recommends alternating theuse of two or more devices, in certain situations, in order to extendthe life of at least one of the devices.

The action initiator 418 is coupled with the server 235 and initiates anaction to achieve a predetermined criteria. The action initiator 418 maytake a predetermined action based on an occurrence associated with amonitored device and/or the customer's use of that device. For example,the action initiator 418 initiates an action having the intent ofmeeting a predetermined budget, such as directing a thermostat to belowered to reach the dollar amount allotted for heat for that particularbilling cycle.

The subscriber data receiver 413 is coupled with the server 235 andreceives data associated with different subscribers' actions. The actioncomparor 415 is coupled with the subscriber data receiver 413 andcompares the different subscribers' actions with each other based on thereceived data. The received data is placed in the database 314, therebyexpanding the amount of information within the database 314.

In another embodiment, a subscriber grouper 416 is coupled with thesubscriber data receiver 413 and groups subscribers based on thereceived data. In this manner, the system 400 is able to analyze dataand send massages regarding a certain bit of data. Having large numbersof subscribers enables the collection of large amounts of data. Beingable to group similar data and send messages associated with the dataenables greater advertising and revenue making possibilities.

In yet another embodiment, the subscriber manager 414 is coupled withthe subscriber data receiver 413 and utilizes received data for managingat least one subscriber.

The web service accessor 411 is coupled with the server 235 and accessesa web service that requires a permission for such access. The subscriberinformation comparor 412 is coupled with the web service accessor 411and compares the subscriber's information with information associatedwith at least one third party. For example, the web service accessor 411uses the local and regional information from a web service (whichrequires the permission of system 400 to view) to make comparisonsbetween a subscriber's energy usage and another's energy usage invarious areas of the state.

The registration processor 410 is coupled with the server 235 andprocesses registration of the at least one subscriber. Registration of asubscriber may occur at a URL directed to the CANDI system 100 orportions thereof, such as, but not limited to, system 400.

A subscriber's account is handled through a secure database, withusername/password login, and administrative oversight of permissions andother factors. Subscribers are tracked by unique IDs which referencetheir personal contact and other information. An administrative leveluser logs into the CANDI system 100 or a portion thereof, and verifies,creates or deletes a subscriber and the domains (e.g. homes, buildings)associated with the subscriber. The database 314 is then updated withthe edited subscriptions.

The secure subscriber tunnel initiator 431 is coupled with the server235 and, in response to a request from a subscriber to the server 235 toremotely access the premises 218, negotiates between the server 235 andthe server 210 a subscriber communication tunnel such that thesubscriber can securely, remotely and directly connect to the server 210and have access to the premises 218. In one embodiment, thecommunication tunnel is secure. In another embodiment, the communicationtunnel requires registration with the system 400.

The third party tunnel initiator 428 is coupled with the server 235 andsends data to the application 209 from a third party. In one embodiment,the data sent to the application 209 includes messages, such as thosedescribed herein.

The device discovery module 430 is coupled with the server 235 andautomatically discovers a device of the at least one device 220 at thepremises 218.

As previously discussed, the system 400 functions, in part, to manageproducts, devices, domains, and subscribers. The system 400 managesthese components of the CANDI system 100 through, in part, product,device, domain and subscriber database administration tables. Below isan illustration of tables and relationships thereof used to manage thecomponents.

Examples of table naming conventions are the following: (1) {originaltbl name}_INFO; and (2) TBLMAP_{table1}_(—)2_{table 2}.

With regard to {original tbl name}_INFO: Many tables have an associatedtable in the format of {original tbl name}_info. These are extendedinformation tables for the main table. For example: The TBLDEVICE tablehas a TBLDEVICE_INFO table. In the TBLDEVICE_INFO table we can trackthings that are specific to this particular device (like for the CWDapplication we track the location of lights on the floor plan in thistable).

The INFO tables have three main parts, an INFO_TYPE_LCD, a TEXT columnand a VALUE column. These fields can be used for anything theapplication desires. The INFO_TUPE_LCD is a mnemonic that identifieswhich kind of data is stored in this_INFO record. Light layout for CWD2Example: (i) INFO_TYPE_LCD+IT APPLICATION; (ii)TEXT=CANDI_IPHONE_APP|Floor Plan Position; and (iii) VALUE=X,Y.

Tables that have INFO associated tables include: TBLPRODUCT, TBLDEVICE,TBLPROTOCOL, TBLMAPPEDPRODUCT_PORT, TBLPRODUCT_DRIVER, TBLHOME, TBLUSER,etc.

With regard to TBLMAP_{table1]_(—)2_{table 2}: To support many-to-manyrelationships between tables, system 400 contains a mapping table. Ithas keys into both main tables (1 and 2). For example,TBLMAPPRODUCT_(—)2_PROTOCOL maps the TBL_PRODUCT table to theTBL_PROTOCOL table. It has its own unique key, and the PRODUCT_CD and aPROTOCOL_CD as 2^(nd) keys.

Some database naming conventions and definitions include: (i) Product(TBLPRODUCT)—“an artifact that has been created by someone or someprocess”; (ii) Product Port (TBLPRODUCT_PORT)—A port on a product; (iii)Protocol (TBLPROTOCOL)—“rules determining the format and transmission ofdata”; (iv) Product Driver (TBLPRODUCT_DRIVER)—Actions implementable onthe product; and (v) Product type (TBLPRODUCT_TYPE)—Categories ofproducts (lights, cameras, bridges etc.).

The system 400 is coupled with the database 314, which also includeslibraries available to end users and third party developers, such as,but not limited to: web applications; native applications; third-partycontrol applications; and device drivers. The third-party controlapplications include multiple levels of tools for third parties, such ascorporate customers and their partners as well as the general public, tocreate both web apps and native apps. The device drivers, as alreadyexplained herein, are characterized to be a device 220 within the domain219.

The system 400 also, in one embodiment, functions to manage services,including, but not limited to: real-time database (populating thedatabase 314 in real time); monitoring, dashboard, alerts and reports; ahelp deck and ticketing; a diagnostics database (customizing reportingand displaying of product performance metrics in order to provideratings and feedback to customers and subscribers; and hosted servers ata colocation provider on the internet backbone (the co-location at whichthe domain 219 and mail servers are hosted).

Additionally, regarding the URL specifically directed to web site forthe CANDI system 100 and portions thereof, such as system 400, the website has at least four core components: (1) subscriber and domaininterfaces; (2) marketing (brand and messaging pages); (3) E-commerce(subscribers can buy hardware and software products to populate theirdomains; and (4) customer support, such as user and developer forums,FAQs, and a problem resolution logic tree.

FIG. 4C is a flow diagram of a method 450 for achieving a uniform deviceabstraction layer, in accordance with embodiments. In one embodiment,method 450 is embodied in instructions, stored on a non-transitorycomputer-readable storage medium, which when executed by a computersystem (see 700 of FIG. 7), cause the computer system to perform themethod 450 for achieving a device abstraction layer. The method 450 isdescribed below with reference to FIGS. 1-2C, 4A-4C and 7.

At 451, in one embodiment and as described herein, the method 450includes automatically establishing a device class 422 for the at leastone device 220 residing in the domain 219 of the premises 218, whereinthe domain 219 is coupled with the server 210 and a device, such as thedevice 220B of the at least one device 220 includes a communication port224B that supports a first protocol 226B corresponding to the secondprotocol 231. The second protocol 231 is supported by the device driver230 coupled with the domain 219. In various embodiments, theestablishing of the device class 422 at 451 includes any of thefollowing: automatically establishing the device class 422; manuallyestablishing the device class 422; establishing a device class 422 forsimilar devices in the domain 219 that operates with different protocolversions and different actions; establishing a device class 422 fordifferent devices implementing different actions over a same protocol;establishing a device class across all domains for different versions ofdevice drivers supported for the same products; establishing a deviceclass 422 for an available new product when a subscriber 217 has anolder version of the server 210 that is coupled with the domain 219,wherein the older version of the server 210 does not support an updateddevice driver.

At 452, in one embodiment and as described herein, the method 450includes, based on the establishing of the device class 422 at 451,enabling a mapping of at least one action 202 to the device 220B,thereby enabling an application, such as application 209, to run on andutilize a capability of the device 220B. In one embodiment, the enablingof 452 of a mapping of an action 202 to a device 220B includes enablingintegrating of web-based services within the application 209.

At 453, in one embodiment and as described herein, the method 450further includes, based on the establishing of the device class 422 at452, enabling multiple applications to be built uniformly, using themapping of the at least one action 202.

At 454, in one embodiment and as described herein, the method 450further includes, based on performed data analysis, notifying an entitywhen a threshold is achieved.

In one embodiment and as described herein, the method 450 furtherincludes requesting updated information from the server 210.

At 455, in one embodiment and as described herein, the method 450further includes receiving data from an external source. At 456, in oneembodiment and as described herein, the method at 455 further includesstoring the data in the database 314 that is coupled with the server235. At 457, in one embodiment and as described herein, the method at455 further includes comparing received data with the database 314 andbased on the comparing, determining a set of data 425 that meets apredetermined criteria. At 458, in one embodiment and as describedherein, the method at 455 further includes reporting a history ofreceived data. At 459, in one embodiment and as described herein, themethod at 455 further includes, based on the received data, projecting afuture trend.

At 460, in one embodiment and as described herein, the method 450further includes, based on data stored in the database 314 coupled withthe server 235, generating a recommendation 420 for a subscriber 217. At461, in one embodiment and as described herein, the generating at 460 ofthe recommendation 420 includes analyzing the data stored in thedatabase 314.

At 462, in one embodiment and as described herein, the method 450further includes initiating an action 202 to achieve a predeterminedcondition.

At 463, in one embodiment and as described herein, the method 450further includes receiving data associated with different subscribers'actions and based on received data, comparing the different subscribers'actions with each other. At 464, in one embodiment and as describedherein, the method 450 further includes receiving data associated withdifferent subscribers' actions and based on the received data, groupingsubscribers.

At 465, in one embodiment and as described herein, the method 450further includes accessing a web service requiring a permission andcomparing the subscribers' information with information associated withat least one third party.

In one embodiment and as described herein, the method 450 furtherincludes processing registration of at least one subscriber 217. At 466,in one embodiment and as described herein, the method 450 furtherincludes receiving data associated with at least one subscriber 217 andmanaging the at least one subscriber 217.

Section Three: Maintaining a Domain

As discussed above, the NOC 101 interacts with the system 200 of thesystem 111, to achieve a uniform device abstraction layer. Thisinteraction is accomplished through a communication method and systemhaving specific functionalities. For example, the communication methodand system functions to maintain and update a domain through suchoperations as, but not limited to, the following (as will be describedbelow): sync management; a cloud mirror; security management; transportlinks; remote editing, compiling and uploading control systemapplication software; and reporting by the system 200 to the NOC 101.

FIGS. 3A and 3B show block diagrams of the system 318 for maintaining adomain 219 in a premises 218, wherein the domain 219 is coupled with theserver 210, in accordance with embodiments. Of note, the system 318 iscoupled with the NOC 101.

With reference now to FIGS. 1-4C, in one embodiment, and as will bedescribed herein, the system 318 includes the following: an instructionreceiver 302; a secure connection establisher 303; a data exchangemodule 304; and an updating module 305. The system 318, in variousembodiments, optionally includes any of the following: a preload filecreator 306; a device driver manager 325 which optionally includes adevice driver adder 307 and a device driver remover 308; a codedownloader 309; an update indicator 310; a task instructor 311; a mirrorimage provider 313; and a device modifier 312.

The instruction receiver 302 is coupled with the server 210. Theinstruction receiver 302 receives a set of instructions relating tomanaging the domain 219. The set of instructions includes a complete setof instructions associated with the managing of a configuration of thedomain 219 such that the domain 219 functions according to the completeset of instructions without any further communication necessary betweenthe server 210 with the server 235 until a change in the domain 219occurs. The set of instructions may be, but is not limited to being:application updates; third party instructions regarding a device; anddevice configuration information.

The change that occurs in the domain 219 will require an update to theserver 210 and components coupled therewith. For example, a change mayoccur if a subscriber 217 adds a new CANDI enabled device onto thepremises 218. The system 200 will recognize the presence of a newdevice. The system 200 will communicate with the NOC 101 (includingsystem 318) to provide information to the cloud about the new device.

In one embodiment, in response to being provided this information, thesystem 318 may send device configuration information to the system 200for the newly added device. Device configuration information isinformation that the NOC 101, including system 318, has access to withregard to a particular device's individualized operational needs,capabilities, as well as predetermined operating instructions(instructions directing the particular device to use its capabilities ina predetermined manner).

However, in another embodiment, and as will be described in more detailbelow in Section IV, a third party developer may contact the CANDIsystem 100 (including the system 200) to transfer to the system 318 anupdate, for example, to an application 209 that resides on the system111. The system 318 will address the third party developer's requestthat an application controlling the at least one device 220 be updatedby pushing the updates to the system 200 of the system 111 for theupdate to be performed.

As described herein, the domain 219 includes at least one device 220,wherein a device 220B of the at least one device 220 includes thecommunication port 224B that supports the first protocol 226Bcorresponding to the second protocol 231, wherein the second protocol231 is supported by the device driver 230 that is coupled with thedomain 219.

The secure connection establisher 303 is coupled with the instructionreceiver 302 and establishes a secure connection between the server 235and the server 210.

The data exchange module 304 is coupled with the secure connectionestablisher 303. The data exchange module 304 exchanges deviceconfiguration information between the server 235 and the server 210.

The updating module 305 is coupled with the data exchange module 304.The updating module 305 updates an application 209 residing on at leastone of the server 210 and a computing device (e.g. mobile phone,personal computer, etc.) that is separate (not residing on the server210) from the server 210 and updating device configuration information216 stored on a (first) database 214 (hereinafter, “database 214”)coupled with the server 210. In one embodiment, the updating module 305updates a second database 314 (hereinafter, “database 314”) that iscoupled with the server 235.

In one embodiment, the system 318 performs sync management to maintainan updated domain in the premises 218. For example, usage data is pushedfrom the server 210 of the system 111 to the server 235 of the system318. When a user, such as a subscriber 217 makes changes to the domain219, or more broadly to the premises 218, a “sync” is performed to pushthe changes into the premises 218, as it applies to the at least onedevice 220 of the domain 219.

To perform the sync, and as described above, the secure connectionestablisher 303 creates a secure connection between the server 235 andthe server 210. The data exchange module 304, in one embodiment, uploadsdevice configuration information, such as, but not limited to, alldevice log data, diagnostics and activity logs, from the server 210coupled with the system 111 to the server 235 for archiving. Based onthis uploaded device configuration information, the updating module 305updates applications coupled with the system 111 as needed. Thisupdating includes, but is not limited to, the following, as describedbelow: adding or removing specific device drivers due to changes indevices; updating the database 214 coupled with the system 111;downloading to the system 111 via the server 210, the latest deviceconfiguration information; creating local application preload files; andupdating system 111—served client applications, such as application 209.

In one embodiment, diagnostic information and request informationtracked by the system 200 is uploaded during the sync process and isstored in the database 314 (coupled with the system 318), such thatmetrics may be aggregated and presented through various componentscoupled with the NOC 101.

Another description of the process of syncing is as follows. After auser, such as subscriber 217, makes changes to the at least one device220 in the domain 219 as well as scenes on the website associated withthe CANDI system 100, the system 318 syncs the new data occurring in theNOC 101 with the system 200 coupled with server 210 associated with thedomain 219. The instruction receiver 302 receives a set of instructionsrelating to managing the domain 219. This set of instructions includes apredetermined instruction based on a recognized pattern. For example,when the user makes changes at the website associated with the CANDIsystem 100, the instruction receiver 302 of the system 318 detects andunderstands these changes to be a “set of instructions”, following whicha secure connection establisher 303, a data exchange module 304 and anupdating module 305 operates as described above.

For example, a domain sync transaction is initiated by a wizard or byprompts from the web site to the user, through the secure connectionestablisher 303. During the domain sync transaction, the current domainconfiguration is checked for completeness via the data exchange module304. If the domain configuration is found to be complete afterexchanging information between the server 235 and the server 210, thenthe current domain configuration of the domain 219 is archived (stored)to the database 314. In one embodiment, device data is updated in thedatabase 314. Current diagnostics from the domain 219 and the system 200are uploaded to the system 318. The system 318, in one embodiment,compiles the necessary drivers (in progress) and applications fordownloading to the system 111 at the server 210.

In yet one more embodiment, new code is downloaded to the system 200.The user, in one instance, in then informed of a successful update tothe user's domain 219.

In yet another embodiment the system 318 is polled by the system 200through the server 210, periodically (e.g. every five seconds), to askif there is any work to be performed. “Work” can be anything from a syncrequest due to changes by the user to a device action request. Types ofwork which the system 318 may request of the system 200 to performinclude, but are not limited to, the following: sync the database 214 orapplications coupled with the system 111 with the system 318 of the NOC101; execute a device action; upload diagnostic data to the system 318;download notification to the system 200 (e.g. utility demand responsenotification); upload stored data for archiving to the system 318 (e.g.power meter hourly metered data, or video cache from local cameras);indicating alarms to push to the system 318; requesting archived orpartner services data from the system 318 for use in applicationsassociated with the domain 219; and updating firmware of the system 111.

The task instructor 311 is coupled with the server 235 and instructs, bythe server 235, the server 210 to have a task (e.g. “work”) performed.Once the task instruction is sent to the system 200 and performed, thepolling resumes. Of note, in communications between the server 210 andthe server 235, to overcome any challenges with port-forwarding throughfirewalls and routers on the premises, the server 210 runs an algorithmthat instigates a poll of the server 235 using SSL over port 80. Thisobviates the need to change firewall settings on the premises 218. Forexample, on a periodic configured bases (e.g. defaulting to every 5seconds), the system 318 receives an HTTPS request from the system 200via the servers 210 and 235. The system 318 authenticates the specificserver 210, and checks its database 314 for any work to be performed. Ifthe system 318 has work for the system 200, then the system 318 returnsan appropriate command back to the system 200. If there is not work todo, as may be the case, then the system 318 does not respond to thepolling of the system 200.

The preload file creator 306 is coupled with the server 235 and createspreload files for the application 209. The device driver manager 325 iscoupled with the server 235 and adds and/or removes a device driver 230to accommodate a change made to the domain 219. In one embodiment, thedevice driver manager 325 includes any of the following: a device driveradder 307; and a device driver remover 308. The device driver adder 307is coupled with the server 235 and adds a device driver, such as devicedriver 230 to accommodate a change made to the domain 219. The devicedriver remover 308 is coupled with the server 235 and removes a devicedriver, such as device driver 230 to accommodate a change made to thedomain 219. The code downloader 309 is coupled with the server 235 anddownloads code 301 to the server 210. In one embodiment, the application209 for a device, such as device 220 is determined and compiled in thesystem 318. The compressed footprint of the application 209 isdownloaded to the system 111. All of the compression is done at thesystem 318. In one instance, the application 209 is downloaded from thesystem 318 into the server 210 and the application is served from theserver 210. Significantly, the server 210 enables immediateaccessibility because the server 210 works even when the server 235 atthe system 318 does not. In this instance, the subscriber 217 accesses alocal area network (LAN) mirror on the premises 218 and coupled with theserver 210.

The update indicator 310 is coupled with the server 235 and indicates asuccessful update to the domain 219. This indication may be a visual(e.g. blinking icon) or auditory indication.

The mirror image provider 313 is coupled with the server 235 andprovides a mirror image 319 of an application managed at the server 210,wherein the mirror image is accessible to a subscriber 217 over a widearea network via the mirror image 319. The mirror image 319 may beaccessed during remote operation by a user of at least one device 220.CANDI enabled applications, such as application 209, have the ability tobe served by either the system 200 in the premises 218 or by the system318. Significantly, this capability minimizes latency and maximizes userexperience with the application, depending on the location from whichthe user is accessing their domain 219.

Users on the premises 218 are connected to the system 200 served by thesystem 111. Remote users out on the WAN are connected to the mirrorimage 319 of their application 209 served by the system 318. When aCANDI domain is set up in a factory, the factory compiles theapplication with product drivers that are necessary and pushes theproduct drivers down to the sync operation to the server 210 on thedomain 219. The application 209 is held in the domain 219. However, thesystem 318 also keeps a mirror copy of that application 209 to beaccessed during remote operation, so that the remote operator does nothave to access the server 210. Whatever is done to the application 209is also done to the mirror image 319, including updates. This is a userexperience optimization feature. The NOC 101 must be accessed to accessthe mirror image 319 of the application 209.

In one embodiment, a “cloud-to-premises tunneling” occurs. For example,the subscriber 217 is connected to the mirror image 319 of theapplication 209, and the system 318 provides a unique tunnelingcapability down to the domain 219 for low-overhead communications withthe system 200. During the sync process described above, the system 200in the domain 219 tells the system 318 what the local IP address is inthe domain 219. The IP address never has to be typed in by thesubscriber 217.

The device modifier 312 is coupled with the server 235 and facilitates achange in the domain 219 by changing a status of the at least one device220.

FIG. 3C is a flow diagram of a method 350 for maintaining the domain 219in the premises 218, in accordance with embodiments. In one embodiment,the method 350 is embodied in instructions, stored on a non-transitorycomputer-readable storage medium, which when executed by a computersystem (see 700 of FIG. 7), cause the computer system to perform themethod 350 for maintaining the domain 219 in the premises 218. Themethod 350 is described below with reference to FIGS. 1-4C and 7.

At 351, in one embodiment and as described herein, the method 350includes receiving a set of instructions at the server 235, wherein theset of instructions requests that a change occur in the domain 219. Thedomain 219, includes at least one device 220. The at least one device220 includes a communication port 224B that supports a first protocol226B corresponding to a second protocol 231, wherein the second protocol231 is supported by a device driver 230 that is coupled with the domain219. In one embodiment, the set of instructions includes a complete setof instructions associated with the managing of the configuration of thedomain 219 such that the domain 219 functions according to the completeset of instructions without any further communication necessary betweenthe server 210 and the server 235 until a change in the domain 219occurs. The change requires an update to the server 210 and componentscoupled therewith.

At 352, in one embodiment and as described herein, the method 350includes establishing a secure connection between the server 235 and theserver 210.

At 353, in one embodiment and as described herein, the method 350includes communicating the request for the change between the server 235and the server 210.

At 354, in one embodiment and as described herein, the method 350includes exchanging configuration information between the server 235 andthe server 210. In various embodiments and as described herein, theexchanging of configuration information between the server 235 and theserver 210 includes any of the following: uploading, from the server210, device log data; uploading, from the server 210, diagnostics; anduploading, from the server 210, device activity information.

At 355, in one embodiment and as described herein, the method 350includes, based on the request and the exchanging at 354, updating anapplication 209 on at least one of the server 210 and a computing devicethat is separate from the server 210, and updating device configurationinformation 216 stored on a database 214 coupled with the server 210. Invarious embodiments and as described herein, the updating at 355includes any of the following: downloading code to the server 210; andinstructing, by the server 235, the server 210 to perform a task.

At 356, in one embodiment and as described herein, the method 350further includes, based on the exchanging at 354, updating the database314 coupled with the server 235. In one embodiment, the updating at 356includes archiving, at the server 235, the device configurationinformation.

At 357, in one embodiment and as described herein, the method 350further includes creating preload files for the application 209.

At 358, in one embodiment and as described herein, the method 350further includes managing a device driver 230 on the premises 218 toaccommodate a change made to the domain 219. In one embodiment and asdescribed herein, the managing a device driver 230 at 358 includesadding a device driver, such as device driver 230, to the premises 218to accommodate a change made to the domain 219. Further, in anotherembodiment and as described herein, the managing a device driver 230 at358 includes removing a device driver, such as device driver 230, fromthe premises 218 to accommodate a change made to the domain 219. At 359,in one embodiment and as described herein, the method 350 furtherincludes indicating a successful update to the at least one device 220.

At 360, in one embodiment and as described herein, the method 350further includes providing a mirror image 319 of an application managedat the server 210, wherein the application is accessible to a subscriberover a wide area network via the mirror image 319.

At 361, in one embodiment and as described herein, the method 350further includes receiving by the server 235 from the server 210 a localIP address of the domain 219.

At 362, in one embodiment and as described herein, the method 350further includes facilitating the change in the domain 219 by changing astatus of the at least one device 220. The changing a status may be atleast any of the following: editing a device; adding a device; anddeleting a device.

Section Four: Targeting Delivery Data

As discussed above, the NOC 101 interacts with the system 200 of thesystem 111, to achieve a uniform device abstraction layer. The creationof the uniform device abstraction layer enables third parties, such asproviders and/or manufacturers, to tailor messages (“delivery data”) tothe subscriber 217. These messages may be in the form of coupons, energysaving advice, alerts as to application updates, etc. Thus, while theNOC 101 receives and collects data provided by the system 200 within thesystem 111, this collected data is pushed back to the system 200 asbusiness intelligence, such that, based on the knowledge that ishappening around the premises 218 and stored at the database 314, themessage is tailored for the subscriber 217. For example, it may besensed that a dish washer is almost in need of repair. Therefore, acoupon for that dish washer is sent to the subscriber 217 inanticipation of the dish washer breaking down. Below is a description ofa system 600 for targeting delivery data.

FIGS. 6A and 6B show block diagrams of the system 600 for targetingdelivery data, in accordance with embodiments. With reference now toFIGS. 1-4C, 6A and 6B, in one embodiment, and as will be describedbelow, the system 600 includes a database accessor 601; an informationanalyzer 602; and a customized message sender 603. It should be notedthat the system 600 is coupled with the system 318 discussed above, viawire and/or wirelessly. Thus, the system 600 may reside on the system318 or may be separate from the system 318 but coupled therewith. Invarious embodiments, the information analyzer 602 optionally includesany of the following: a usage sender 604; and a group discount sender612. In various embodiments, the information analyzer 602 optionallyincludes a threshold value determiner 605 and then optionally furtherincludes any of the following: an application repairer 607; anapplication updater 606; and a product advertiser 608.

In one embodiment, the database accessor 601 is coupled with a localserver 235 and accesses a database 314 also coupled with the localserver 235, wherein the database 314 includes information associatedwith a set of premises 611. It should be appreciated that a set ofpremises 611 can be just one premises or a plurality of premises. Eachpremises of the set of premises 611 includes the domain 219 coupled withthe server 210 and includes at least one device 220. The at least onedevice 220 includes a communication port 224 that supports a firstprotocol 226 corresponding to the second protocol 231, wherein thesecond protocol 231 is supported by the device driver 230 coupled withthe domain 219.

The information analyzer 602 is coupled with the database accessor 601and analyzes the information associated with the set of premises 611. Inone embodiment, the information analyzer 602 includes the thresholdvalue determiner 605. The threshold value determiner 605 determines if athreshold value is achieved. The threshold value is a predeterminedvalue that once met or exceeded, is considered to be achieved. Forexample, a threshold value is the threshold temperature of 68 degreesFahrenheit. In one embodiment, it is predetermined that the temperatureshould remain below 68 degrees Fahrenheit in the living room of thepremises 218. Thus, if the temperature is registered to be 69 degreesFahrenheit, then it is determined that threshold temperature for theliving room is achieved.

The functioning of the threshold value determiner 605 enables an eventto be created. For example, and as indicated above, based upon athreshold value being met or exceeded as determined by the thresholdvalue determiner 605, the provider and/or manufacturer performs anaction directed towards the subscriber 217. This action, as will beexplained below, may be any of, but not limited to, the following:customized messaging; repairing applications; updating applications,creation of a new product; and offering a new product to a subscriber.Notifications, through the customized messaging, may be sent to thesubscriber by the provider and/or manufacturer when a certain eventoccurs that meets or exceeds a threshold. Thus, the provider and/ormanufacturer are enabled to have more positive feedback regardingpredetermined thresholds being met or exceeded. Additionally,manufacturers and providers are enabled to send relevant and revenuegenerating customized messages to subscribers, thereby potentiallyincreasing a revenue base. Moreover, these actions directed towardssubscribers help to build a customer/provider relationship.

The customized message sender 603 is coupled with the informationanalyzer 602 and sends a customized message to the set of premises 611.The customized message is a message tailored to the particularsubscriber 217. For example, the database 314 includes informationregarding a dishwasher, its make, model and warranty information. Themanufacturer of the dishwasher has a new dishwasher model that savesenergy while also cleaning dishes better than the subscriber'sdishwasher. The manufacturer, through system 600, is able to send acustomized message to the subscriber 217, offering a cost reduction(coupon) for the new dishwasher model, while also illustrating to thesubscriber 217 possible energy savings should the new dishwasher modelbe used. (See below for product advertiser 608.) The customized messagesender optionally includes any of the following: a usage sender 604 anda group discount sender 612.

The usage sender sends a customized message to the set of premises 611based on a frequency of usage of a product by the set of premises 611.For example, if is it determined that a subscriber 217 uses a washingmachine every day, then the customized message sent from the usagesender might include advice for running the washing machine at times ofthe day at which the cost of energy to the consumer is lower. In anotherexample, one customized message may be sent to high usage users, whileanother customized message may be sent to users of a differentfrequency. Thus, customized messages vary depending on a subscriber'sfrequency of use

The group discount sender 612 sends a group discount to the set ofpremises 611. For example, a coupon offering a discount for a newrefrigerator may be sent to a group of selected subscribers within theset of premises 611, wherein the coupon offers a discount if apredetermined number of subscribers within the group of selectedsubscribers choose to buy the refrigerator using the coupon. Thisfeature of the system 600 enables a provider and/or a manufacturer totrack and sort data based on what subscribers like (e.g. highusage-group discount), using at least the data stored at the database314 of the system 318. This takes away from the uncertainty of who isgoing to buy a product that is manufactured. It also creates moreconfidence in manufacturing the product. The group discount sender 612,thus, is able to send customized messages targeting specific groups ofsubscribers.

As described above, the system 600 further optionally includes any ofthe following coupled with the threshold value determiner 605: anapplication repairer 607; an application updater 606; and a productadvertiser 608. The application repairer 607 repairs an application 209at the set of premises 611 if the threshold value is achieved. Theapplication updater 606 updates an application 209 at the set ofpremises 611 if the threshold value is achieved. The product advertiser608 offers a new product to the set of premises 611 if the thresholdvalue is achieved.

The product advertiser 608 is coupled with the database accessor 601 andoffers a new product to the set of premises 611 if the threshold valueis achieved.

FIG. 6C is a flow diagram of a method 650 for targeting delivery data,in accordance with embodiments. In one embodiment, the method 650 isembodied in instructions, stored on a non-transitory computer-readablestorage medium, which when executed by a computer system (see 700 ofFIG. 7), cause the computer system to perform the method 650 fortargeting delivery data. The method 650 is described below withreference to FIGS. 1-4C, 6A-6C and 7.

At 651, in one embodiment and as described herein, the method 650includes accessing the database 314 coupled with the server 235, whereinthe database 314 includes information associated with the set ofpremises 611, wherein each premises of the set of premises 611 includesa domain 219 that is coupled with the server 210 and includes at leastone device 220. The at least one device 220 includes a communicationport 224 that supports a first protocol 226 corresponding to the secondprotocol 231. The second protocol 231 is supported by the device driver230 that is coupled with the domain 219.

At 652, in one embodiment and as described herein, the method 650includes analyzing the information. At 654, in one embodiment and asdescribed herein, the analyzing 652 the information includes determiningif a threshold value is achieved. At 655, in one embodiment and asdescribed herein, the method 650 further includes, based on theanalyzing at 652, repairing an application 209 at the set of premises611 if the threshold value is achieved. At 656, in one embodiment and asdescribed herein, the method 650 further includes, based on theanalyzing at 653, updating an application 209 at the set of premises 611if the threshold value is achieved. At 657, in one embodiment and asdescribed herein, the method 650 further includes, based on theanalyzing at 653, offering a new product to the set of premises 611 ifthe threshold value is achieved.

At 653, in one embodiment and as described herein, the method 650includes, based on the analyzing at 652, sending a customized message tothe set of premises 611. In one embodiment and as described herein, thesending at 653 of the customized message is based on a frequency ofusage of a product by the set of premises 611. In another embodiment andas described herein, the sending at 653 of the customized messageincludes sending a group discount to the set of premises 611.

Section Five: Enabling Customized Functions to be Implemented at aDomain

As discussed above, the NOC 101 interacts with the system 200 of thesystem 111, to achieve a uniform device abstraction layer. The creationof the uniform device abstraction layer enables third parties to buildcustomized functions for implementation at the domain 219. Moreparticularly, a third party developer may develop an application to berun on at least one device 220 within the domain 219, without knowinganything about the protocols associated with that device. For example,using well known established application development platforms, autility company may write a mobile phone software application, includinga set of instructions, to be implemented on a mobile phone.Additionally, the developer of the mobile phone software application maycommunicate with an API coupled with the system 200, and select awidget, of a set of selectable widgets, that the developer wishes toappear in its third party application. The widget is a predesigned userinterface element that is enabled to be integrated within a third partyapplication to provide user information and enable user interactionthrough the third party application via communication with the devicedriver.

This mobile phone software application is an example of a third partyapplication, described below. The mobile phone software applicationcommunicates with the system 500 coupled with the system 200, and usingan API 502 of the set of APIs 501 of the system 500 (described below),the system 500 converts the set of instructions within the mobile phonesoftware application to a description of an action 202 and a protocolwhich the at least one device 220 understands and can implement.

At the subscriber's 217 end, the subscriber 217 downloads the mobilephone software application to his/her mobile phone, and then is able toclick on an icon, such as, “my energy savings”. Once the “my energysavings” option is selected, the mobile phone software application sendsa command to the system 200 that instructs the application to performactions that conserve energy on the devices present at the domain 219.For example, the system 200 knows how to convert this action request toan action for each of the at least one device 220, such as instructingthe lights to dim, the thermostat to set back a couple of degrees, etc.The developer of the mobile phone software application does not need toknow who makes the thermostat and what the thermostat is in order forthe thermostat to respond to the mobile phone software application'saction request. The system 500, as will be described below, convertsaspects of the developed third party application into descriptions ofactions and protocols that the at least one device 220 understands. Inthis manner, a third party may develop an application for a group ofdevices residing in the domain, without having to create specificprograms to match the protocol requirements of different devices withinthe domain 219.

Below is a description of a system 500 for enabling a customizedfunction for the at least one device 220 to be implemented within thedomain 219.

FIGS. 5A and 5B show block diagrams of the system 500 for enabling acustomized function for the at least one device 220 to be implementedwithin the domain 219, in accordance with embodiments. With referencenow to FIGS. 1A-5B, in one embodiment and as will be described below,the system 500 includes: a set of application programming interfaces(APIs) 501; and an instruction translator 504 coupled with the set ofAPIs 501 and an instruction sender 517 coupled with the instructiontranslator 504. In various embodiments and coupled with the system 200described herein, the system 500 includes any of the following: aninstruction manager 506; a performance indicator 507; and a library 508.

The system 500 is coupled with the system 200. The system 200 includesthe server 210 thereon for managing the premises 218. The system 200interacts with at least one third party application 514 via the set ofAPIs 501 (wherein the at least one third party application 514 has a setof instructions 516 thereon), such that the at least one third partyapplication 514 can communicate with the device driver 230 at thepremises 218 without having knowledge of the protocol 231 thereon andwithout having knowledge of the at least one device 220. The premises218, as described herein, includes the at least one device 220, whereina device of the at least one device 220, is coupled with the server 210and includes a communication port 224 that supports a first protocol 226corresponding to a second protocol 231, wherein the second protocol 231is supported by a device driver 230 that is coupled with the domain 219.

Various functions of the set of APIs 501 include, but are not limitedto, the following: creating and checking state subscriptions; settingand getting action states; getting device information and propertieslists; querying and running macros; handling logins; and preloading datato a web page.

In one embodiment, at least one API, such as API 502, of the set of APIs501, includes a set of selectable widgets 503. Upon the selection of aselectable widget of the set of selectable widgets 503 by a third partyprovides to the third party a predesigned user interface element that isenabled to be integrated within the at least one third party application514. In various embodiments, the set of selectable widgets 503 are anyof, but not limited to being, the following: picture; an interactivegraphic; and an interactive object. Thus, the system 500 provides amethod by which a third party developer may develop a customizedapplication for the subscriber 217 and/or the domain 219.

The instruction translator 504 is coupled with the server 210 andtranslates the set of instructions 516 received from the at least onethird party application 514 to be a description of an action 202 andprotocol that the at least one device 220 understands. Once the at leastone device 220 understands the action 202 and protocol, then the action202 (the object of an action request by the at least one third partyapplication 514) may be executed by the at least one device 220 and theapplication associated therewith. In one embodiment, the instructiontranslator 504 includes the instruction analyzer 505. The instructionanalyzer 505 analyzes the set of instructions 516 and compares anddetermines a match for information within the set of instructions 516with a portion of the domain 219. The term, “compares” refers to theinstruction analyzer 505 looking at the set of instructions 516 to beapplied to a particular device and the at least one device 220 withinthe domain, and determining similarities and differences between the setof instructions 516 and which devices are within the domain 219. Theterm, “determines a match for information within the set of instructions516” refers to the determination of which device, if any, of the atleast one device 220 is able to perform an action or plurality ofactions requested within the set of instructions 516. If it isdetermined that a device of the at least one device 220 is able toperform the action 202, then a match is determined to have been found.

The instruction sender 517 is coupled with the instruction translator504 and sends the translated instructions to the at least one device 220for implementation by said at least one device 220.

The instruction manager 506 is coupled with the instruction translator504 and manages a performance of an object of the set of instructions516. The object of the set of instructions 516 includes an action 202,as described herein.

The performance indicator 507 is coupled with the instruction translator504 and provides an indication of when the action 202 has beenperformed.

The library 508 is coupled with the instruction translator 504 andmanages the sending and receiving of the action request. As describedherein, in various embodiments, the library includes any of thefollowing: a subscription manager 510 which may include a remote serverpolster 511; an object administrator 512; and a user access manager 513.

The subscription manager 510 manages a subscription to the execution andresult of the action 202. The subscription to the action, in oneexample, is a result of the action request. Once an action 202 has beenrequested to be performed (the action request), it becomes a“subscription” to the action 202, and the process begins to determine ifand with which device the action 202 may be performed. In anotherinstance, the system 500 polls the system 200 whenever a subscribedaction like a thermostat's temperature changes. The object administrator512 administers a list of objects comprising the set of selectablewidgets 503.

The user access manager 513 manages user access to the set of selectablewidgets 503. For example, the user access manager 513 handles the secureuser login and authentication before opening the developer'sapplication.

Additionally, the system 500 provides a controlled list of objects thatmay include more than the set of selectable widgets 503, and a methodfor controlling and polling devices as well as customizing simplerapplications and user interfaces. For example, the objects may also beassociated with different product types. The system 500 includes methodsspecific to each different product type that handles the intricacies ofthe actions and provides call back functions for when the command iscomplete (such as notifications that an action has been performed).

Capabilities which the system 500 and/or the system 500 combined withthe system 200, provide to developers include, but are not limited to:specific device control for lights, thermostats, cameras, etc. isprovided; simple device image toggle controls such as 1) choice ofimages to represent a device's state (on, off, unknown images) andplacing it anywhere on the page; and 2) when an image is clicked, thedevice's command is sent to the system 200, and the image is updatedappropriately (i.e. on or off image); slider controls, such as tocontrol light levels, volume level and shade height. This allowsdevelopers to specify where the GUI will display a slider for setting adevice's power/dim level as a percentage. The developer can choose thelocation, colors, image on the slider, direction (horizontal/vertical),increment (0 to 100 percent), steps (0, 33, 66, 99 percent), etc. Oncethe slider has been moved, the physical light is sent the appropriatecommand; dynamic device lists are easily handled, which enable the easydisplay of any information about the device, including filtering by thespecific device types (e.g. lights only), device name, location type,protocol information, etc.; dynamic lists of macros are easily handledand automatically displayed in the application, such as application 209;scenes (aka macros) are presented easily for developers to assignindividual buttons to call the scene. An image can be automaticallydisplayed to indicate that the scene is running; inclusion ofbest-of-breed mobile development environment tools and libraries;inclusion of CANDI pre-load scripts which have all the devices in theenvironment ready for use in a web based environment; multiple webapplication pages can be built by the developer and managed as separatefiles. However, at runtime, all application pages are combined into aseamless single page to optimize speed and presentation to the end-user;apple-style page “tweens” are available, managed by a simple on-clickcontrol element which allows page paints to slide from any direction(top→bottom, left→right, . . . ) or back after closing the page, byremembering the last slide direction and creating the opposite effect onreturn to the prior page; sounds can be triggered for page changes andother events when desired; developers can specify global variables to beused in and across multiple pages in their application. Examples areobjects such as directory locations, named sound files, default imagefiles for devices, etc.; HTML and Java Script may be added to CANDIapplications as desired. Developers have full access to the CANDIpre-load scripts and capabilities. Any standard HTML or JavaScriptfunction can be added to customize the application or enhance the userexperience; and the use of CANDI libraries built on the backgroundprocessing power of Ajax to communicate with the server 210. On an IPnetwork, this allows the user experience to be quick and seamless.

Further features provided by the system 500 or the combination of system500 and 200 include, but are not limited to, the following: unsolicitedevent notification to devices (e.g. a user turns on a light in the houseand the application then changes to indicate the light as ON); abilityto automatically select applications based on the platform or browserloaded (e.g. loading pages specific to company A's product on thecompany A's product, loading pages specific to company B's product onthe company B's product, and loading pages specific to company C'sproduct on the company C's product); DLNA-compliant entertainmentbrowsing, playback and control.

Additionally, the system 500 or the combination of the system 500 and200 enable a method and system for pre-delivery network creation. Forexample, a non-skilled person in a factory is able to configure adevice, such as a light switch, via a computer, after looking at NOC 101for the requirements of the device.

In another embodiment, the system 200 enables the designing of a brandfor a product device using available widgets. This may happen at thefactory, linked with NOC 101, or at a location remote from the factory(e.g. the premises 219 coupled with system 200).

Overall, the tools available to developers via systems 500 and 200provide open APIs to allow easy application and driver development bycustomers, end-users and anyone else. In one embodiment, the system 500includes HTTP API. In-house and third-party developers can createsophisticated software applications that interface fully with the CANDIsystem 100 and server 210. The API describes syntax for software-driveninputs and outputs handled by device classes. The HTTP GET method isused.

At a high level, the HTTP GET request and response include, but are notlimited to: asynchronous requests; and HTTP GET responses. In regard toasynchronous requests, many commands have an option to send them inasynchronously and get the finished command response at a later time.This type of command request requires the addition of a CREATE_REQUESTparameter and a REQUEST_ID parameter when querying the result. Thesyntax is: &CREATE_REQUEST—and—&REQUST_ID+{REQUEST_ID}. The inboundCREATE_REQUEST returns an alpha/numeric that is unique for this requestand is used again on the #Check Request command to retrieve the commandresponse. When the CREATE_REQUEST is sent in, the WAIT_SECONDS parameteris ignored.

In regard to HTTP GET responses, the HTTP Get responses use the bar (|)and tilde (˜) delimited strings. Multiple elements in a list areseparated by a bar (|). Object attributes are separated by the tildecharacter (˜). GET responses can also encompass action responses.

Additionally, in one embodiment, third party applications will besubject to a stringent automated testing process.

FIG. 5C is a flow diagram of a method 550 for enabling a building of acustomized function for at least one device 220 in a domain 219, inaccordance with embodiments. In one embodiment, the method 550 isembodied in instructions, stored on a non-transitory computer-readablestorage medium, which when executed by a computer system (see 700 ofFIG. 7), cause the computer system to perform the method 550 forenabling a building of a customized function for at least one device 220in the domain 219. The method 550 is described below with reference toFIGS. 1A-7.

At 551, in one embodiment and as described herein, the method 550includes receiving a set of instructions 515 residing on at least onethird party application 514, wherein the set of instructions 515comprises a request for an action 202 to be performed at the at leastone device 220 within the domain 219 coupled with the premises 218.

At 552, in one embodiment and as described herein, the method 550includes translating the set of instructions 516 and the action 202 intoan action request and a protocol that the at least one device 220understands, such that the at least one third party application 514 cancommunicate with the device driver 230 at the premises without havingknowledge of a protocol thereon and without having knowledge of the atleast one device 220, wherein a device of the at least one device iscoupled with the server 210 and includes a communication port 224 thatsupports a first protocol 226 corresponding to the second protocol 231,wherein the second protocol 231 is supported by the device driver 230that is coupled with the domain 219.

At 553, in one embodiment and as described herein, the method 550includes operating at the at least one device 220, via the set of APIs501, the at least one third party application 514, including the actionrequest, having the set of instructions 516 thereon.

At 554, in one embodiment and as described herein, the method 550includes providing an indication of when the action request has beenperformed.

At 555, in one embodiment and as described herein, the method 550includes managing the sending and receiving of the action request via alibrary 508. In one embodiment and as described herein, the managing thesending and receiving of the action request via the library 508 at 555optionally includes any of the following: managing a subscription to theexecution and result of the action 202, the managing the subscriptionfurther optionally including polling the server 210 that is coupled withthe device driver 230 when the action 202, that is subject to thesubscription, changes; administering a list of objects comprising a setof selectable widgets 503; and managing user access to a list of objectsincluding the set of selectable widgets 503.

Section Six: Cloud-Assisted Network Device Integration

With reference now to FIGS. 1A-8D, the CANDI system 100 will bedescribed. FIG. 8A is a block diagram of the CANDI system 100. Shown inoverview is the NOC 101 coupled with the system 111. As described abovein detail, the NOC 101 includes, in various embodiments, the system 400for achieving a uniform device abstraction layer and the system 318 formaintaining a domain. The system 111 includes in various embodiments,the system 200 for managing a domain and the system 500 for enabling acustomized function for at least one device to be implemented within thedomain 219. Additionally, coupled with both the NOC 101 and the system111 is the system 600 for targeting delivery data. It should beappreciated that the embodiments associated with the systems 200, 318,400, 500 and 600 have been described in detail above and the variousfeatures therein are incorporated into the embodiment shown in FIG. 8A.In addition, the CANDI system 100 optionally includes a data manager 805that is coupled with the device driver implementer of the system 200.The data manager 805 sends and receives data associated with the atleast one device 220.

In one embodiment, the CANDI system 100 includes the NOC 101 (includingthe system 400) and the domain manager (including the system 200). Thesystem 400 is coupled with the server 235, while the system 200 iscoupled with the server 210.

As described herein, the system 400 includes a device class determinercoupled with the server 235. The device class determiner establishes adevice class for the at least one device residing in the domain at thepremises. Based on the establishing the device class, an action isenabled to be mapped to the device, thereby enabling an application torun on and utilize a capability of the device.

In one embodiment and as described herein, the CANDI system 100optionally includes any of the following: an updated informationrequester; a data receiver; a data storer; and a recommendationgenerator. The updated information requester is coupled with the deviceclass determiner and is configured for requesting updated informationfrom the remote server. The data receiver is coupled with the deviceclass determiner and receives data from an external source. The datastorer is coupled with the data receiver and stores the data in a localdatabase coupled with the local server. The recommendation generator iscoupled with the device class determiner and generates a recommendationfor a subscriber based on data stored in the local database.

As described herein, the system 200 includes an action identifiercoupled with the remote server, the action identifier configured foridentifying an action to be mapped to the at least one device; a devicedriver determiner coupled with the action identifier, the device driverdeterminer configured for determining a device driver that supports asecond protocol, wherein the device driver is coupled with the domainand the second protocol supports the action; a comparer configured forcomparing the second protocol with a domain configuration storeincluding device configuration information for the at least one device;and a device driver implementer configured for, based on the comparing,implementing the device driver when the first protocol corresponds tothe second protocol such that the action is enabled for performance.

In one embodiment and as described herein, the CANDI system 100 furtherincludes a gateway module coupled with the device driver implementer,the gateway module configured for managing an application, wherein theapplication controls said at least one device. In yet another embodimentand as described herein, the CANDI system 100 includes a data managercoupled with the device driver implementer, the data manager configuredfor sending and receiving data associated with the at least one device.In one embodiment and as described herein, the CANDI system 100 furtherincludes a communication manager, wherein the communication managerincludes the system 318, which includes an instruction receiver, asecure connection establisher, a data exchange module, and an updatingmodule. The instruction receiver is coupled with the local server. Theinstruction receiver receives a set of instructions relating to managingthe domain, wherein the set of instructions includes a complete set ofinstructions associated with the managing a configuration of the domainsuch that the domain functions according to the complete set ofinstructions without any further communication necessary between theremote server with the local server until a change in the domain occurs,wherein the change requires an update to the remote server andcomponents coupled therewith.

The secure connection establisher is coupled with the instructionreceiver and establishes a secure connection between the local serverand the remote server.

The data exchange module is coupled with the secure connectionestablisher and exchanges device configuration information between thelocal server and the remote server.

The updating module is coupled with the data exchange module and basedon the exchanging, updates an application residing on the at least oneof the remote server and a computing device that is separate from theremote server and updates device configuration information stored on afirst database coupled with the remote server. In one embodiment and asdescribed herein, the updating module is further configured for updatinga second database that is coupled with the local server.

In one embodiment and as described herein, the system 600 for targetingdelivery data includes a database accessor, an information analyzer, anda customized message sender. The database accessor is coupled with thelocal server and accesses the second database, wherein the seconddatabase includes information associated with a set of premises. Theinformation analyzer is coupled with the database accessor and analyzesthe information. The customized message sender is coupled with theinformation analyzer and sends a customized message to the set ofpremises.

FIGS. 8B-8D are flow diagrams of a method 850 for integrating anetworked device within a domain, as described herein, in accordancewith an embodiment. At 851, in one embodiment and as described herein,the method 850 includes establishing, at a local server, a device classfor at least one device residing in a domain of a premises, wherein saiddomain is coupled with a remote server and the at least one devicecomprises a communication port that supports a first protocol. At 852,in one embodiment and as described herein, the method 850 includesidentifying an action to be mapped to the device. At 853, in oneembodiment and as described herein, the method 850 includes determininga device driver that supports a second protocol, the device driver beingcoupled with the domain, the second protocol supporting the action. At854, in one embodiment and as described herein, the method 850 includescomparing the second protocol with a domain configuration storecomprising device configuration information for the at least one device,wherein the domain configuration store is coupled with a first database,the first database being coupled with the remote server. At 855, in oneembodiment and as described herein, the method 850 includes, based onthe comparing, implementing the device driver when the first protocolcorresponds to the second protocol such that the action is enabled forperformance.

At 856, in one embodiment and as described herein, the method 850includes automatically establishing a device class for the at least onedevice. At 857, in one embodiment and as described herein, the method850 includes, based on the establishing of the device class, enabling amapping of at least one action to the device, thereby enabling anapplication to run on and utilize a capability of the device.

At 858, in one embodiment and as described herein, the method 850includes receiving a set of instructions at the local server, whereinthe set of instructions requests that a change occur in the domain;establishing a secure connection between the local server and the remoteserver; communicating the request for the change between the localserver and the remote server; exchanging configuration informationbetween the local server and the remote server; based on the request andthe exchanging, updating an application residing on at least one of theremote server and a computing device that is separate from the remoteserver and updating device configuration information stored on a firstdatabase coupled with the remote server. At 859, in one embodiment andas described herein, the method 850 at 858 further includes updating asecond database that is coupled with the local server.

At 860, in one embodiment and as described herein, the method 850includes storing, at a second database coupled with the local server,information associated with the premises, analyzing the information andsending a customized message to said set of premises.

At 861, in one embodiment and as described herein, the method 850includes manages an application by a gateway module coupled with theremote server, wherein the application controls the at least one device.At 862, in one embodiment and as described herein, the method 850includes managing, by the remote server, data associated with the atleast one device.

At 863, in one embodiment and as described herein, the method 850includes receiving, by the local server, data from an external source.At 864, in one embodiment and as described herein, the method 850 at 863further includes storing received data in a second database coupled withthe local server.

At 865, in one embodiment and as described herein, the method 850includes generating a recommendation for a subscriber based on datastored in the second database. At 866, in one embodiment and asdescribed herein, the method 850 includes: accessing the first databasecoupled with the local server, wherein the first database comprisesinformation associated with a set of premises, wherein each premises ofthe set of premises comprises a domain coupled with the remote serverand includes at least one device; analyzing the information; and sendinga customized message to the set of premises.

At 867, in one embodiment and as described herein, the method 850includes: receiving a set of instructions residing on at least one thirdparty application, wherein the set of instructions comprises a requestfor an action to be performed at the at least one device within thedomain coupled with the premises; and translating the set ofinstructions into an action request and a protocol that the at least onedevice understands, such that the at least one third party applicationcan communicate with the device driver at the premises without havingknowledge of a protocol thereon and without having knowledge of the atleast one device.

The present technology may be described in the general context ofcomputer-executable instructions, such as program modules, beingexecuted by a computer. Generally, program modules include routines,programs, objects, components, data structures, etc., that performparticular tasks or implement particular abstract data types. Thepresent technology may also be practiced in distributed computingenvironments where tasks are performed by remote processing devices thatare linked through a communications network. In a distributed computingenvironment, program modules may be located in both local and remotecomputer-storage media including memory-storage devices.

Computer System Description

FIG. 7 is a block diagram of an example of a computer system 700, inaccordance with an embodiment. With reference now to FIG. 7, portions ofthe technology for managing a domain in a premises are composed ofcomputer-readable and computer-executable instructions that reside, forexample, in computer-readable storage media of a computer system. Thatis, FIG. 3 illustrates one example of a type of computer that can beused to implement embodiments, which are discussed below, of the presenttechnology.

It is appreciated that system 700 of FIG. 7 is an example only and thatthe present technology can operate on or within a number of differentcomputer systems including general purpose networked computer systems,embedded computer systems, routers, switches, server devices, userdevices, various intermediate devices/artifacts, stand alone computersystems, and the like. As shown in FIG. 7, computer system 700 of FIG. 7is well adapted to having peripheral computer readable media 702 suchas, for example, a floppy disk, a compact disc, and the like coupledthereto.

System 700 of FIG. 7 includes an address/data bus 704 for communicatinginformation, and a processor 706A coupled to bus 704 for processinginformation and instructions. As depicted in FIG. 7, system 700 is alsowell suited to a multi-processor environment in which a plurality ofprocessors 706A, 706B, and 706C are present. Conversely, system 700 isalso well suited to having a single processor such as, for example,processor 706A. Processors 706A, 706B, and 706C may be any of varioustypes of microprocessors. System 700 also includes data storage featuressuch as a computer usable volatile memory 708, e.g. random access memory(RAM), coupled to bus 704 for storing information and instructions forprocessors 706A, 706B, and 706C.

System 700 also includes computer usable non-volatile memory 710, e.g.read only memory (ROM), coupled to bus 704 for storing staticinformation and instructions for processors 706A, 706B, and 706C. Alsopresent in system 700 is a data storage unit 712 (e.g., a magnetic oroptical disk and disk drive) coupled to bus 704 for storing informationand instructions. System 700 also includes an optional alphanumericinput device 714 including alphanumeric and function keys coupled to bus704 for communicating information and command selections to processor706A or processors 706A, 706B, and 706C. System 700 also includes anoptional cursor control device 716 coupled to bus 704 for communicatinguser input information and command selections to processor 706A orprocessors 706A, 706B, and 706C. System 700 of the present embodimentalso includes an optional display device 718 coupled to bus 704 fordisplaying information.

Referring still to FIG. 7, optional display device 718 of FIG. 7 may bea liquid crystal device, cathode ray tube, plasma display device orother display device suitable for creating graphic images andalphanumeric characters recognizable to a user. Optional cursor controldevice 716 allows the computer user to dynamically signal the movementof a visible symbol (cursor) on a display screen of display device 718.Many implementations of cursor control device 716 are known in the artincluding a trackball, mouse, touch pad, joystick or special keys onalpha-numeric input device 714 capable of signaling movement of a givendirection or manner of displacement. Alternatively, it will beappreciated that a cursor can be directed and/or activated via inputfrom alpha-numeric input device 714 using special keys and key sequencecommands.

System 700 is also well suited to having a cursor directed by othermeans such as, for example, voice commands. System 700 also includes anI/O device 720 for coupling system 700 with external entities. Forexample, in one embodiment, I/O device 720 is a modem for enabling wiredor wireless communications between system 700 and an external networksuch as, but not limited to, the Internet. A more detailed discussion ofthe present technology is found below.

Referring still to FIG. 7, various other components are depicted forsystem 700. Specifically, when present, an operating system 722,applications 724, modules 726, and data 728 are shown as typicallyresiding in one or some combination of computer usable volatile memory708, e.g. random access memory (RAM), and data storage unit 712.However, it is appreciated that in some embodiments, operating system722 may be stored in other locations such as on a network or on a flashdrive; and that further, operating system 722 may be accessed from aremote location via, for example, a coupling to the internet. In oneembodiment, the present technology, for example, is stored as anapplication 724 or module 726 in memory locations within RAM 708 andmemory areas within data storage unit 712. The present technology may beapplied to one or more elements of described system 700. For example, amethod for identifying a device associated with a transfer of contentmay be applied to operating system 722, applications 724, modules 726,and/or data 728.

The computing system 700 is only one example of a suitable computingenvironment and is not intended to suggest any limitation as to thescope of use or functionality of the present technology. Neither shouldthe computing environment 700 be interpreted as having any dependency orrequirement relating to any one or combination of components illustratedin the example computing system 700.

All statements herein reciting principles, aspects, and embodiments aswell as specific examples thereof, are intended to encompass bothstructural and functional equivalents thereof. Additionally, it isintended that such equivalents include both currently known equivalentsand equivalents developed in the future, i.e., any elements developedthat perform the same function, regardless of structure. The scope ofembodiments, therefore, is not intended to be limited to the embodimentsshown and described herein. Rather, the scope and spirit of embodimentsare embodied by the appended claims.

What we claim is:
 1. A system for maintaining a domain in a premises,wherein said domain is coupled with a remote server, said systemcomprising: an instruction receiver coupled with a local server of saiddomain and positioned remotely from said domain, said instructionreceiver configured for receiving a set of instructions relating tomanaging said domain, wherein said set of instructions comprises acomplete set of instructions associated with said managing aconfiguration of said domain such that said domain functions accordingto said complete set of instructions without any further communicationnecessary between said remote server with said local server until achange in said domain occurs, wherein said change in said domainrequires an update to said remote server and said local server andcomponents coupled therewith, wherein said domain comprises: at leastone device, a device of said at least one device having a capability ofsupporting a functioning of an action, wherein said action comprisesrunning a third party application on a specified device, wherein saidspecified device is characterized as being part of a device class,wherein said third party application is requested to be run on saiddevice in said domain, wherein said third party application is builtwith a predetermined generic language specific to said device class suchthat said third party application is enabled to be implements on anydevice of said device class using a particular device driver, whereinsaid device comprises a communication port and is defined by a physicalcommunication method and a first protocol operating on saidcommunication port, wherein said first protocol supports a firstprotocol that supports said functioning of said action on said specifieddevice, wherein a realization of said capability depends on a discoveryby said system of a device driver, wherein said device driver comprisesa second protocol that at least substantially supports said functioningof said action and an implementation of said device driver; a secureconnection establisher coupled with said instruction receiver, saidsecure connection establisher configured for establishing a secureconnection between said local server and said remote server, whereinsaid secure connection establisher provides said secure connection for adomain sync transaction, wherein said domain sync transaction comprisescompiling necessary device drivers and applications for downloading tosaid local server; a data exchange module coupled with said secureconnection establisher, said data exchange module configured forexchanging device configuration information between said local serverand said remote server, wherein said device configuration informationcomprises information on protocols being supported by communicationports disposed on said at least one device, wherein said data exchangemodule is further configured for, during said domain sync transaction,checking completeness of said configuration of said domain; an updatingmodule coupled with said data exchange module, said updating moduleconfigured for, based on said exchanging and said checking forcompleteness, updating an application residing on at least one of saidremote server and a computing device, wherein said application isseparate from said remote server, wherein said updating module isfurther configured for updating device configuration information storedon a first database coupled with said remote server; and a device drivermanager coupled with said local server, said device driver managerconfigured for at least one of adding and removing a device driver toaccommodate a change made to said domain.
 2. The system of claim 1,wherein said updating module is further configured for updating a seconddatabase coupled with said local server.
 3. The system of claim 1,wherein said updating module further comprises: a preload file creatorcoupled with said local server, said preload file creator configured forcreating preload files for said application.
 4. The system of claim 1,further comprising: a code downloader coupled with said local server,said code downloader configured for downloading code to said remoteserver.
 5. The system of claim 1, further comprising: a task instructorcoupled with said local server, said task instructor configured forinstructing, by said local server, said remote server to perform a task.6. The system of claim 1, further comprising: a mirror image providercoupled with said local server, said mirror image provider configuredfor providing a mirror image of an application managed at said remoteserver, wherein said mirror image is accessible to a subscriber over awide area network via said mirror image.
 7. The system of claim 1,further comprising: a device modifier coupled with said local server,said device modifier configured for facilitating a change in said domainby changing a status of said at least one device.
 8. A non-transitorycomputer readable storage medium having stored thereon,computer-executable instructions that, when executed by a computer,cause said computer to perform a method for maintaining a domain in apremises, wherein said domain is coupled with a remote server, saidmethod comprising: receiving a set of instructions at a local server,wherein said set of instructions requests that a change occur in saiddomain, wherein said change in said domain requires an update to saidremote server and said local server, wherein said domain comprises atleast one device, a device of said at least one device having acapability of supporting a functioning of an action, wherein said actioncomprises running a third party application on a specified device,wherein said specified device is characterized as being part of a deviceclass, wherein said third party application is requested to be run onsaid device in said domain, wherein said third party application isbuilt with a predetermined generic language specific to said deviceclass such that said third party application is enabled to be implementson any device of said device class using a particular device driver,wherein said device comprises a communication port and is defined by aphysical communication method and a first protocol operating on saidcommunication port, wherein said first protocol supports a firstprotocol that supports said functioning of said action on said specifieddevice, wherein a realization of said capability depends on a discoveryby said system of a device driver, wherein said device driver comprisesa second protocol that at least substantially supports said functioningof said action and an implementation of said device driver; establishinga secure connection between said local server and said remote server,wherein said secure connection is provided for a domain synctransaction, wherein said domain sync transaction comprises compilingnecessary device drivers and applications for downloading to said localserver; communicating said request for said change between said localserver and said remote server; exchanging device configurationinformation between said local server and said remote server, whereinsaid device configuration information comprises information on protocolsbeing supported by communication ports disposed on said at least onedevice, wherein a communication port of said communication portssupports said first protocol that supports said functioning of saidaction; during said domain sync transaction, checking completeness ofsaid configuration of said domain; and based on said request, saidexchanging, and said checking said completeness, updating an applicationresiding on at least one of said remote server and a computing device,wherein said application is separate from said remote server, andupdating device configuration information stored on a first databasecoupled with said remote server; and managing a device driver on saidpremises to accommodate a change made to said domain, wherein saidmanaging comprises: at least one of adding and removing a device driverto accommodate said change made to said domain.
 9. The non-transitorycomputer readable storage medium of claim 8, wherein said set ofinstructions comprises a complete set of instructions associated withmanaging a configuration of said domain such that said domain functionsaccording to said complete set of instructions without any furthercommunication necessary between said remote server and said local serveruntil a change in said domain occurs, wherein said change requires anupdate to said remote server and components coupled therewith.
 10. Thenon-transitory computer readable storage medium of claim 8, wherein saidmethod further comprises: based on said exchanging, updating a seconddatabase coupled with said local server.
 11. The non-transitory computerreadable storage medium of claim 8, wherein said updating a seconddatabase coupled with said local server comprises: archiving, at saidlocal server, said device configuration information.
 12. Thenon-transitory computer readable storage medium of claim 8, wherein saidupdating a second database coupled with said local server comprises:creating preload files for said application.
 13. The non-transitorycomputer readable storage medium of claim 8, wherein said method furthercomprises: indicating a successful update to said at least one device.14. The non-transitory computer readable storage medium of claim 8,wherein said method further comprises: providing a mirror image of anapplication managed at said remote server, wherein said application isaccessible to a subscriber over a wide area network via said mirrorimage.
 15. The non-transitory computer readable storage medium of claim8, wherein said method further comprises: receiving by said local serverfrom said remote server a local IP address of said domain.
 16. Thenon-transitory computer readable storage medium of claim 8, wherein saidmethod further comprises: facilitating said change in said domain bychanging a status of said at least one device.
 17. The non-transitorycomputer readable storage medium of claim 8, wherein said exchangingconfiguration information between said local server and said remoteserver comprises: uploading, from said remote server, device log data.18. The non-transitory computer readable storage medium of claim 8,wherein said exchanging configuration information between said localserver and said remote server comprises: uploading, from said remoteserver, device activity information.
 19. The non-transitory computerreadable storage medium of claim 8, wherein said updating saidapplication comprises: downloading code to said local server.
 20. Thenon-transitory computer readable storage medium of claim 8, wherein saidupdating comprises: instructing, by said local server, said remoteserver to perform a task.